-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
15 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,5 @@ updates: | |
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 1 | ||
labels: | ||
- commit-updates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,26 +24,20 @@ jobs: | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
with: | ||
fetch-depth: 2 | ||
ref: ${{ github.head_ref }} | ||
- name: Install cddlconv | ||
run: cargo install [email protected] | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Build and test | ||
run: npm test | ||
- id: check_changes | ||
run: | | ||
if [[ -n $(git status --porcelain) ]]; then | ||
echo "changes=true" >> "$GITHUB_OUTPUT"; | ||
fi | ||
- name: Commit and push changes | ||
if: contains(github.event.pull_request.labels.*.name, 'commit-updates') && steps.check_changes.outputs.changes == 'true' | ||
run: | | ||
git status | ||
git submodule deinit --all | ||
echo "After submodule deinit" | ||
git status | ||
git config --global user.name 'browser-automation-bot' | ||
git config --global user.email '[email protected]' | ||
git add . --all | ||
git commit -m 'chore: commit updated files' --no-verify | ||
git push | ||
if: contains(github.event.pull_request.labels.*.name, 'commit-updates') | ||
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # 5.0.1 | ||
with: | ||
token: ${{ secrets.BROWSER_AUTOMATION_BOT_TOKEN }} | ||
commit_message: "fix: generate files" | ||
commit_options: -n --signoff | ||
commit_user_name: Browser Automation Bot | ||
commit_user_email: [email protected] | ||
commit_author: Browser Automation Bot <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters