Skip to content

Commit

Permalink
more tweaks to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
nrminor committed May 15, 2024
1 parent 6dc4f88 commit 68a10af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/normalize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@ jobs:
git config --global user.name 'GitHub Actions Bot'
git config --global user.email '[email protected]'
git add DETECTION_RESULTS.tsv
git fetch origin proposals
git commit -m "Normalize data files"
git push origin HEAD:proposals
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ on:
- cron: "0 0 * * 0" # Runs every Sunday at 00:00 UTC
pull_request:
paths:
- "results.tsv"
- "DETECTION_RESULTS.tsv"
- "release.yml"
push:
branches:
- main
paths:
- "results.tsv"
- "DETECTION_RESULTS.tsv"
- "release.yml"

jobs:
create-release:
Expand All @@ -31,7 +33,7 @@ jobs:
id: changes
uses: tj-actions/verify-changed-files@v13
with:
files: "results.tsv"
files: "DETECTION_RESULTS.tsv"

- name: Create Release
if: steps.changes.outputs.file_changed == 'true'
Expand Down

0 comments on commit 68a10af

Please sign in to comment.