Skip to content

Commit

Permalink
Merge pull request #3813 from rubygems/fix_daily_workflow_false_posit…
Browse files Browse the repository at this point in the history
…ives

Use workflow file name for checking status

(cherry picked from commit 7cd7e88)
  • Loading branch information
deivid-rodriguez committed Dec 7, 2020
1 parent 35ace33 commit deedf47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/daily-bundler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Get previous status
if: always()
run: echo "::set-env name=OLD_STATUS::$(curl -sS 'https://api.github.com/repos/rubygems/rubygems/actions/workflows/982279/runs?event=schedule&branch=master' | jq '.workflow_runs | .[1].conclusion')"
run: echo "::set-env name=OLD_STATUS::$(curl -sS 'https://api.github.com/repos/rubygems/rubygems/actions/workflows/daily-bundler.yml/runs?event=schedule&branch=master' | jq '.workflow_runs | .[1].conclusion')"

- uses: 8398a7/action-slack@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily-rubygems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Get previous status
if: always()
run: echo "::set-env name=OLD_STATUS::$(curl -sS 'https://api.github.com/repos/rubygems/rubygems/actions/workflows/716807/runs?event=schedule&branch=master' | jq '.workflow_runs | .[1].conclusion')"
run: echo "::set-env name=OLD_STATUS::$(curl -sS 'https://api.github.com/repos/rubygems/rubygems/actions/workflows/daily-rubygems.yml/runs?event=schedule&branch=master' | jq '.workflow_runs | .[1].conclusion')"

- uses: 8398a7/action-slack@v3
with:
Expand Down

0 comments on commit deedf47

Please sign in to comment.