Skip to content

Commit 38cbb88

Browse files
authored
Update ai.yml
1 parent 3578c39 commit 38cbb88

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/ai.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
env:
2828
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2929

30-
- name: Find the latest successful workflow run
30+
- name: Stuff
3131
id: latest_run
3232
run: |
3333
latest_run_id=$(gh run list --repo "mercuryworkshop/scramjet" --status success --limit 1 --json databaseId --jq '.[0].databaseId')
@@ -40,20 +40,14 @@ jobs:
4040
4141
rm -rf ./public/scram
4242
mv ./temp_artifact ./public/scram
43-
env:
44-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4543
46-
47-
- name: Commit and push changes
48-
run: |
4944
git config --global user.name "github-actions[bot]"
5045
git config --global user.email "github-actions[bot]@users.noreply.github.com"
5146
git add ./public/scram
52-
git commit -m "Update Scramjet artifact from mercuryworkshop/scramjet" || echo "No changes to commit"
47+
git commit -am "chore: update scramjet"
5348
5449
- name: Push changes
5550
uses: ad-m/github-push-action@master
5651
with:
5752
github_token: ${{ secrets.GITHUB_TOKEN }}
5853
branch: ${{ github.ref }}
59-
message: "Update Scramjet artifact from mercuryworkshop/scramjet"

0 commit comments

Comments
 (0)