Skip to content

Commit

Permalink
retying detached state with ref in checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
bistline committed Dec 12, 2024
1 parent f7c22e9 commit 1fc5be5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/minify_ontologies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Copy and decompress ontologies in repo
run: cd ingest/validation/ontologies; mkdir tmp; cp -r *.min.tsv.gz tmp/; gzip -d tmp/*.min.tsv.gz
Expand Down Expand Up @@ -86,9 +88,7 @@ jobs:
# Commit changes
git commit -m "Update minified ontologies via GitHub Actions"
echo "GITHUB_HEAD_REF: $GITHUB_HEAD_REF"
echo "github.head_ref: ${{ github.head_ref }}"
git push origin ${{ github.head_ref }}
git push
else
echo "No changes to commit."
fi

0 comments on commit 1fc5be5

Please sign in to comment.