Skip to content

Commit

Permalink
clean up warnings and exit codes in github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
swryan committed Nov 15, 2023
1 parent 5522e63 commit dd32023
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/openmdao_audit.yml
Expand Up @@ -119,9 +119,8 @@ jobs:
python -m pip_audit -s osv --ignore-vuln GHSA-hcpj-qp55-gfph
- name: Notify slack
uses: act10ns/slack@v1.6.0
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
uses: act10ns/slack@v2.0.0
with:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
status: ${{ job.status }}
if: failure()
2 changes: 1 addition & 1 deletion .github/workflows/openmdao_latest_workflow.yml
Expand Up @@ -239,7 +239,7 @@ jobs:
echo 'EOF' >> $GITHUB_OUTPUT
grep changed $GITHUB_OUTPUT
grep changed $GITHUB_OUTPUT || echo ""
if: always()

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/openmdao_test_workflow.yml
Expand Up @@ -294,7 +294,7 @@ jobs:
echo 'EOF' >> $GITHUB_OUTPUT
grep changed $GITHUB_OUTPUT
grep changed $GITHUB_OUTPUT || echo ""
- name: Setup tmate session
if: matrix.DEBUG
Expand Down Expand Up @@ -414,10 +414,9 @@ jobs:
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
- name: Notify slack
uses: act10ns/slack@v1.6.0
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
uses: act10ns/slack@v2.0.0
with:
webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
status: ${{ job.status }}
if: always()

Expand Down

0 comments on commit dd32023

Please sign in to comment.