Skip to content

Commit 851e9c5

Browse files
authored
Propagate dependabot changes from last couple months. (#503)
1 parent 22ae46d commit 851e9c5

File tree

5 files changed

+9
-11
lines changed

5 files changed

+9
-11
lines changed

.github/workflows/smoke-test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
id: slack
4545
uses: slackapi/slack-github-action@v2
4646
with:
47+
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
48+
webhook-type: webhook-trigger
4749
payload: |
4850
{
4951
"blocks": [
@@ -72,7 +74,4 @@ jobs:
7274
}
7375
}
7476
]
75-
}
76-
env:
77-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
78-
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
77+
}

python-project-template/.github/workflows/pre-commit-ci.yml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ jobs:
3232
extra_args: --all-files --verbose
3333
env:
3434
SKIP: "check-lincc-frameworks-template-version,no-commit-to-branch,check-added-large-files,validate-pyproject,sphinx-build,pytest-check"
35-
- uses: pre-commit-ci/lite-action@v1.0.2
35+
- uses: pre-commit-ci/lite-action@v1.1.0
3636
if: failure() && github.event_name == 'pull_request' && github.event.pull_request.draft == false

python-project-template/.github/workflows/smoke-test.yml.jinja

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,11 @@ jobs:
8080
- name: Send status to Slack app
8181
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
8282
id: slack
83-
uses: slackapi/slack-github-action@v1
83+
uses: slackapi/slack-github-action@v2
8484
with:
8585
# For posting a rich message using Block Kit
86+
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
87+
webhook-type: webhook-trigger
8688
payload: |
8789
{
8890
"blocks": [
@@ -112,8 +114,5 @@ jobs:
112114
}
113115
]
114116
}
115-
env:
116-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
117-
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
118117
{%- endraw %}
119118
{%- endif %}

python-project-template/.github/workflows/testing-and-coverage.yml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ jobs:
3333
run: |
3434
python -m pytest --cov={{package_name}} --cov-report=xml
3535
- name: Upload coverage report to codecov
36-
uses: codecov/codecov-action@v4
36+
uses: codecov/codecov-action@v5
3737
with:
3838
token: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %}

python-project-template/.github/workflows/{% if include_benchmarks %}publish-benchmarks-pr.yml{% endif %}.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
echo "Conclusion: ${{ github.event.workflow_run.conclusion }}"
2929
echo "Event: ${{ github.event.workflow_run.event }}"
3030
- name: Download artifact
31-
uses: dawidd6/action-download-artifact@v3
31+
uses: dawidd6/action-download-artifact@v7
3232
with:
3333
name: benchmark-artifacts
3434
run_id: ${{ github.event.workflow_run.id }}

0 commit comments

Comments
 (0)