Merge pull request #1495 from GriffinRichards/fix-symbols

Fix symbols branch commit message, limit to upstream
This commit is contained in:
GriffinR 2021-08-11 17:35:31 -04:00 committed by GitHub
commit 3a14f4472d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -19,6 +19,7 @@ jobs:
uses: actions/checkout@master
- name: Checkout syms
if: ${{ github.event_name == 'push' }}
uses: actions/checkout@master
with:
path: symbols
@ -52,7 +53,7 @@ jobs:
run: make -j${nproc} all
- name: Webhook
if: ${{ github.event_name == 'push' }}
if: ${{ github.event_name == 'push' && github.repository_owner == 'pret' }}
env:
CALCROM_DISCORD_WEBHOOK_USERNAME: OK
CALCROM_DISCORD_WEBHOOK_AVATAR_URL: https://i.imgur.com/38BQHdd.png
@ -63,7 +64,7 @@ jobs:
if: ${{ github.event_name == 'push' }}
run: |
cp -v *.sym symbols/
export GITHUB_COMMIT_MSG="$( git log --format=%s ${GITHUB_SHA} )"
echo "SYMBOLS_COMMIT_MSG=$( git log --format=%s ${GITHUB_SHA} )" >> $GITHUB_ENV
- name: Update symfiles
if: ${{ github.event_name == 'push' }}
@ -72,4 +73,4 @@ jobs:
branch: symbols
cwd: "./symbols"
add: "*.sym"
message: $GITHUB_COMMIT_MSG
message: ${{ env.SYMBOLS_COMMIT_MSG }}