Skip to content

Commit

Permalink
Propagate dependabot changes from last couple months. (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
delucchi-cmu authored Dec 10, 2024
1 parent 22ae46d commit 851e9c5
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
id: slack
uses: slackapi/slack-github-action@v2
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook-type: webhook-trigger
payload: |
{
"blocks": [
Expand Down Expand Up @@ -72,7 +74,4 @@ jobs:
}
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ jobs:
extra_args: --all-files --verbose
env:
SKIP: "check-lincc-frameworks-template-version,no-commit-to-branch,check-added-large-files,validate-pyproject,sphinx-build,pytest-check"
- uses: pre-commit-ci/lite-action@v1.0.2
- uses: pre-commit-ci/lite-action@v1.1.0
if: failure() && github.event_name == 'pull_request' && github.event.pull_request.draft == false
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ jobs:
- name: Send status to Slack app
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
id: slack
uses: slackapi/slack-github-action@v1
uses: slackapi/slack-github-action@v2
with:
# For posting a rich message using Block Kit
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook-type: webhook-trigger
payload: |
{
"blocks": [
Expand Down Expand Up @@ -112,8 +114,5 @@ jobs:
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
{%- endraw %}
{%- endif %}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ jobs:
run: |
python -m pytest --cov={{package_name}} --cov-report=xml
- name: Upload coverage report to codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
token: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
echo "Conclusion: ${{ github.event.workflow_run.conclusion }}"
echo "Event: ${{ github.event.workflow_run.event }}"
- name: Download artifact
uses: dawidd6/action-download-artifact@v3
uses: dawidd6/action-download-artifact@v7
with:
name: benchmark-artifacts
run_id: ${{ github.event.workflow_run.id }}
Expand Down

0 comments on commit 851e9c5

Please sign in to comment.