-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
ff9a317
commit 7cf95e3
Showing
4 changed files
with
211 additions
and
182 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
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Update readme | ||
run-name: Update readme | ||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
workflow_run: | ||
workflows: [Build and deploy, Build lists] | ||
types: | ||
- completed | ||
push: | ||
paths: | ||
- 'functions/update_readme.sh' | ||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
update_readme: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: main | ||
|
||
- name: update_readme.sh | ||
run: bash functions/update_readme.sh | ||
|
||
- name: Push | ||
run: | | ||
git config user.email ${{ vars.GIT_EMAIL }} | ||
git config user.name ${{ vars.GIT_USERNAME }} | ||
git add . | ||
git diff-index --quiet HEAD || git commit -m "Update readme" | ||
git push -q |
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
Oops, something went wrong.