We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d73a528 commit 32523a6Copy full SHA for 32523a6
1 file changed
.github/workflows/run-tests-example-apps.yml
@@ -52,6 +52,16 @@ jobs:
52
run: |
53
git config --global user.name "github-actions[bot]"
54
git config --global user.email "github-actions[bot]@users.noreply.github.com"
55
+ # Create a branch and open a PR (unique branch name based on run id)
56
+ BRANCH="update-screenshots-${{ github.run_id }}"
57
+ git checkout -b "$BRANCH"
58
+ # Open PR
59
+ gh pr create \
60
+ --base main \
61
+ --head "$BRANCH" \
62
+ --title "ci: update screenshots" \
63
+ --body "Update screenshots"
64
+
65
git add .
66
git commit -m 'ci: update screenshots' --allow-empty
- git push
67
+ git push origin "$BRANCH"
0 commit comments