Skip to content

Commit

Permalink
Scheduled workflow working (#1016)
Browse files Browse the repository at this point in the history
* Remove un-needed token

* asd

* Add matrix create issue
  • Loading branch information
d10sfan authored Nov 9, 2023
1 parent 94e6a95 commit d1803f6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/check_download_status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,23 @@ jobs:
- name: Check Download Status
id: check_download_status
uses: luxtorpeda-dev/action-check-download-status@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
create_tickets:
runs-on: ubuntu-latest
if: ${{ needs.check_status.outputs.matrix != '[]' }}
needs: check_status
strategy:
matrix: ${{fromJson(needs.check_status.outputs.matrix)}}
steps:
- name: Test
run: echo ${{ matrix.download_name }} ${{ matrix.download_status }}
- name: Create Issue
uses: jayqi/failed-build-issue-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
label-name: ${{ matrix.game_name }} ${{ matrix.download_name }}
title-template: Download failed for ${{ matrix.game_name }} ${{ matrix.download_name }}
body-template: |
Download failed for ${{ matrix.game_name }} ${{ matrix.download_name }}
Response was ${{ matrix.download_status }}
App id of ${{ matrix.game_app_id }}
2 changes: 1 addition & 1 deletion metadata/packagessniper_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3253,7 +3253,7 @@
{
"name": "binaries",
"url": "http://icculus.org/prey/downloads/",
"file": "prey-installer-02192009.bin",
"file": "prey-installer-021920092.bin",
"check_download_status": true
},
{
Expand Down

0 comments on commit d1803f6

Please sign in to comment.