Skip to content

Commit

Permalink
Updated GitHub workflows: added ref to return-dispatch in docker.yml …
Browse files Browse the repository at this point in the history
…and changed git push to specify origin and main branch in screenshots.yml
  • Loading branch information
Mr-Comand committed Oct 3, 2024
1 parent 71d2f94 commit ff8193c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
uses: codex-/return-dispatch@v1
id: return_dispatch
with:
ref: ${{ github.event.ref }} # or refs/heads/target_branch
token: ${{ github.token }}
repo: ${{ github.event.repository.name }}
owner: ${{ github.repository_owner }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ jobs:
git add public/screenshots/*
git add manifest.json
git commit -m "Add screenshots from headless browser tests" || echo "No changes to commit"
git push
git push origin HEAD:main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Use the GitHub token for authentication

0 comments on commit ff8193c

Please sign in to comment.