File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # yaml-language-server: $schema=https://json.schemastore.org/github-workflow
1+ # yaml-language-server: $schema=./.github/workflows/github-workflow.json
2+
23name : Update Library
34on :
45 issues :
78jobs :
89 update :
910 runs-on : ubuntu-latest
11+ permissions :
12+ contents : write # Grant write permissions to the repository contents
1013 steps :
1114 - name : Checkout repository
1215 uses : actions/checkout@v2
2326
2427 - name : Run Python script
2528 env :
26- ISSUE_BODY : ${{ github.event.issue.body }} # Pass issue body as environment variable
29+ ISSUE_BODY : ${{ github.event.issue.body }}
2730 run : |
2831 python update_library.py
2932
3336 git config --global user.email "actions@github.com"
3437 git add data/library.json data/library.csv
3538 git commit -m "Update library data"
36- git push
39+ git push
You can’t perform that action at this time.
0 commit comments