-
Notifications
You must be signed in to change notification settings - Fork 1
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
e8efb6e
commit 44196bc
Showing
2 changed files
with
14 additions
and
2 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 |
---|---|---|
|
@@ -5,6 +5,7 @@ on: [push] | |
jobs: | ||
run-script: | ||
runs-on: ubuntu-latest | ||
if: (!(contains(github.event.commits[0].message, '[AUTO]'))) | ||
|
||
steps: | ||
- name: Check out code | ||
|
@@ -33,4 +34,15 @@ jobs: | |
IFS=' ' read -ra ADDR <<< "${{ steps.getfile.outputs.files }}" | ||
for file in "${ADDR[@]}"; do | ||
python add-base.py "$file" | ||
done | ||
- name: Configure Git | ||
run: | | ||
git config user.name "GitHub Actions Bot" | ||
git config user.email "<[email protected]>" | ||
- name: Commit and Push changes | ||
run: | | ||
git add -u # Adds only modified files to the staging area | ||
git commit -m "Updated .ttl files with base URI [AUTO]" | ||
git push | ||
done |
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