summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-10-07 16:10:35 -0400
committerGitHub <noreply@github.com>2021-10-07 16:10:35 -0400
commita2655ba9ab82646a54f60abc6078df372179f8d4 (patch)
tree95b074a1a4d77d6cd77e413e1d6e72eb55b595b0 /.github/workflows
parente86d3410a1719fcbf62754bfda93a295aa7e0d57 (diff)
parent001a25e49cd6acdac89a62f4230aef80422e78f2 (diff)
Merge branch 'master' into doc-union
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml6
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 }}