diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a8bd016cb..1dfb5763e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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,6 +64,7 @@ jobs: if: ${{ github.event_name == 'push' }} run: | cp -v *.sym symbols/ + echo "SYMBOLS_COMMIT_MSG=$( git log --format=%s ${GITHUB_SHA} )" >> $GITHUB_ENV - name: Update symfiles if: ${{ github.event_name == 'push' }} @@ -71,4 +73,4 @@ jobs: branch: symbols cwd: "./symbols" add: "*.sym" - message: ${{ github.event.pull_request.title }} + message: ${{ env.SYMBOLS_COMMIT_MSG }} |
