Skip to content

Commit 2cc466d

Browse files
authored
Merge pull request #226 from pllim/action-ver-hash
MNT: Use hash for Action workflow versions and update if needed
2 parents 6b8e995 + 1dd8e1a commit 2cc466d

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "github-actions" # See documentation for possible values
9+
directory: ".github/workflows" # Location of package manifests
10+
schedule:
11+
interval: "monthly"
12+
groups:
13+
actions:
14+
patterns:
15+
- "*"

.github/workflows/cron-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ concurrency:
2222
jobs:
2323
tests:
2424
if: (github.repository == 'astropy/specreduce' && (github.event_name == 'schedule' || github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Extra CI')))
25-
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
25+
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@924441154cf3053034c6513d5e06c69d262fb9a6 # v1.13.0
2626
with:
2727
submodules: false
2828
coverage: ''

.github/workflows/publish-to-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
publish:
11-
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
11+
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@924441154cf3053034c6513d5e06c69d262fb9a6 # v1.13.0
1212
# NOTE: Uncomment "if" if you do not want this to run for every PR.
1313
# if: ((github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) || contains(github.event.pull_request.labels.*.name, 'Build wheels'))
1414
with:

.github/workflows/tox-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ concurrency:
2121

2222
jobs:
2323
tests:
24-
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
24+
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@924441154cf3053034c6513d5e06c69d262fb9a6 # v1.13.0
2525
secrets:
2626
CODECOV_TOKEN: ${{ secrets.CODECOV }}
2727
with:

0 commit comments

Comments
 (0)