Skip to content

Commit

Permalink
Move issue creation into a separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Dec 17, 2024
1 parent a7921e9 commit 7129b80
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/check-for-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ permissions:
issues: write

jobs:
dict:
check-for-updates:
runs-on: ubuntu-latest
outputs:
updated: ${{ steps.script.outputs.updated }}

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -50,3 +52,11 @@ jobs:
add: last_update.json
author_name: github-actions[bot]
author_email: 41898282+github-actions[bot]@users.noreply.github.com

create-issue:
needs: check-for-updates
if: ${{ needs.check-for-updates.outputs.updated == 'yes' }}
runs-on: ubuntu-latest
steps:
- name: Create issue if updated
run: echo "TODO create issue"

0 comments on commit 7129b80

Please sign in to comment.