summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-08-11 19:01:47 -0400
committerGitHub <noreply@github.com>2021-08-11 19:01:47 -0400
commit80348e7188f64036171d57512defdd7321aec00b (patch)
tree517139fce4979f7dda50b1216968caa63fc5d0e6 /.github
parent28a8fe191af71a71d45afb93480dc59f98e790cf (diff)
parentcc516274650bfc21437003c16bb793a43d190a41 (diff)
Merge branch 'master' into doc-itemmenu2
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5b904ae9f..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,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 }}