mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
Fix symbols branch commit message, limit to upstream
This commit is contained in:
parent
2fb7440315
commit
5098fbf7bb
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
|||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
|
||||||
- name: Checkout syms
|
- name: Checkout syms
|
||||||
|
if: ${{ github.event_name == 'push' && github.repository_owner == 'pret' }}
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
with:
|
with:
|
||||||
path: symbols
|
path: symbols
|
||||||
@ -52,7 +53,7 @@ jobs:
|
|||||||
run: make -j${nproc} all
|
run: make -j${nproc} all
|
||||||
|
|
||||||
- name: Webhook
|
- name: Webhook
|
||||||
if: ${{ github.event_name == 'push' }}
|
if: ${{ github.event_name == 'push' && github.repository_owner == 'pret' }}
|
||||||
env:
|
env:
|
||||||
CALCROM_DISCORD_WEBHOOK_USERNAME: OK
|
CALCROM_DISCORD_WEBHOOK_USERNAME: OK
|
||||||
CALCROM_DISCORD_WEBHOOK_AVATAR_URL: https://i.imgur.com/38BQHdd.png
|
CALCROM_DISCORD_WEBHOOK_AVATAR_URL: https://i.imgur.com/38BQHdd.png
|
||||||
@ -60,16 +61,16 @@ jobs:
|
|||||||
run: sh .github/calcrom/webhook.sh pokeemerald
|
run: sh .github/calcrom/webhook.sh pokeemerald
|
||||||
|
|
||||||
- name: Move symfiles
|
- name: Move symfiles
|
||||||
if: ${{ github.event_name == 'push' }}
|
if: ${{ github.event_name == 'push' && github.repository_owner == 'pret' }}
|
||||||
run: |
|
run: |
|
||||||
cp -v *.sym symbols/
|
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
|
- name: Update symfiles
|
||||||
if: ${{ github.event_name == 'push' }}
|
if: ${{ github.event_name == 'push' && github.repository_owner == 'pret' }}
|
||||||
uses: EndBug/add-and-commit@v7
|
uses: EndBug/add-and-commit@v7
|
||||||
with:
|
with:
|
||||||
branch: symbols
|
branch: symbols
|
||||||
cwd: "./symbols"
|
cwd: "./symbols"
|
||||||
add: "*.sym"
|
add: "*.sym"
|
||||||
message: $GITHUB_COMMIT_MSG
|
message: ${{ env.SYMBOLS_COMMIT_MSG }}
|
||||||
|
Loading…
Reference in New Issue
Block a user