Skip to content

Commit

Permalink
Try
Browse files Browse the repository at this point in the history
  • Loading branch information
steveraysteveray committed Sep 19, 2023
1 parent e8efb6e commit 44196bc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion file1.shapes.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<https://example/file1>
a owl:Ontology ;
owl:imports <http://datashapes.org/dash> ;
owl:versionInfo "Created with TopBraid Composer" ;
owl:versionInfo "Created with TopBraid Composer" ;
.
file1:DestinationClass_1
a file1:Location ;
Expand Down

0 comments on commit 44196bc

Please sign in to comment.