File tree 9 files changed +18
-18
lines changed
9 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 21
21
name : Auto label pull requests
22
22
runs-on : ubuntu-latest
23
23
steps :
24
- - uses : release-drafter/release-drafter@v6
24
+ - uses : release-drafter/release-drafter@3f0f87098bd6b5c5b9a36d49c41d998ea58f9348
25
25
env :
26
26
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27
27
with :
Original file line number Diff line number Diff line change @@ -38,13 +38,13 @@ jobs:
38
38
language : ['python']
39
39
steps :
40
40
- name : Checkout repository
41
- uses : actions/checkout@v4
41
+ uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
42
42
# Initializes the CodeQL tools for scanning.
43
43
- name : Initialize CodeQL
44
- uses : github/codeql-action/init@v3
44
+ uses : github/codeql-action/init@d39d31e687223d841ef683f52467bd88e9b21c14
45
45
with :
46
46
languages : ${{ matrix.language }}
47
47
- name : Autobuild
48
- uses : github/codeql-action/autobuild@v3
48
+ uses : github/codeql-action/autobuild@d39d31e687223d841ef683f52467bd88e9b21c14
49
49
- name : Perform CodeQL Analysis
50
- uses : github/codeql-action/analyze@v3
50
+ uses : github/codeql-action/analyze@d39d31e687223d841ef683f52467bd88e9b21c14
Original file line number Diff line number Diff line change 14
14
build :
15
15
runs-on : ubuntu-latest
16
16
steps :
17
- - uses : actions/checkout@v4
17
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
18
18
- name : Build the Docker image
19
19
run : docker build . --file Dockerfile --platform linux/amd64 --tag stale_repos:"$(date +%s)"
Original file line number Diff line number Diff line change 18
18
statuses : write
19
19
steps :
20
20
- name : Checkout Code
21
- uses : actions/checkout@v4
21
+ uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
22
22
with :
23
23
# Full git history is needed to get a proper
24
24
# list of changed files within `super-linter`
28
28
python -m pip install --upgrade pip
29
29
pip install -r requirements.txt -r requirements-test.txt
30
30
- name : Lint Code Base
31
- uses : super-linter/super-linter@v6
31
+ uses : super-linter/super-linter@4758be622215d0954c8353ee4877ffd60111cf8e
32
32
env :
33
33
DEFAULT_BRANCH : main
34
34
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 20
20
name : Validate PR title
21
21
runs-on : ubuntu-latest
22
22
steps :
23
- - uses : amannn/action-semantic-pull-request@v5
23
+ - uses : amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f
24
24
env :
25
25
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
26
with :
Original file line number Diff line number Diff line change 19
19
matrix :
20
20
python-version : [3.9, 3.11, 3.12]
21
21
steps :
22
- - uses : actions/checkout@v4
22
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
23
23
- name : Set up Python ${{ matrix.python-version }}
24
- uses : actions/setup-python@v5
24
+ uses : actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d
25
25
with :
26
26
python-version : ${{ matrix.python-version }}
27
27
- name : Install dependencies
Original file line number Diff line number Diff line change 33
33
contents : write
34
34
pull-requests : read
35
35
steps :
36
- - uses : release-drafter/release-drafter@v6
36
+ - uses : release-drafter/release-drafter@3f0f87098bd6b5c5b9a36d49c41d998ea58f9348
37
37
id : release-drafter
38
38
env :
39
39
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55
55
IMAGE_NAME : github/stale_repos # different than repo name (underscore instead of dash)
56
56
steps :
57
57
- name : Set up Docker Buildx
58
- uses : docker/setup-buildx-action@v3
58
+ uses : docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb
59
59
- name : Log in to the Container registry
60
- uses : docker/login-action@v3
60
+ uses : docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20
61
61
with :
62
62
registry : ${{ env.REGISTRY }}
63
63
username : ${{ github.actor }}
64
64
password : ${{ secrets.GITHUB_TOKEN }}
65
65
- uses : actions/checkout@v4
66
66
- name : Push Docker Image
67
67
if : ${{ success() }}
68
- uses : docker/build-push-action@v5
68
+ uses : docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0
69
69
with :
70
70
context : .
71
71
file : ./Dockerfile
84
84
discussions : write
85
85
steps :
86
86
- name : Create an announcement discussion for release
87
- uses : abirismyname/create-discussion@v1.2.0
87
+ uses : abirismyname/create-discussion@6e6ef67e5eeb042343ef8b3d8d0f5d545cbdf024
88
88
env :
89
89
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
90
90
with :
Original file line number Diff line number Diff line change 31
31
ORGANIZATION : github
32
32
INACTIVE_DAYS : 1
33
33
- name : Create issue
34
- uses : peter-evans/create-issue-from-file@v5
34
+ uses : peter-evans/create-issue-from-file@24452a72d85239eacf1468b0f1982a9f3fec4c94
35
35
with :
36
36
title : Stale repository report
37
37
content-filepath : ./stale_repos.md
Original file line number Diff line number Diff line change 1
1
# checkov:skip=CKV_DOCKER_2
2
2
# checkov:skip=CKV_DOCKER_3
3
- FROM python:3.12-slim
3
+ FROM python:3.12-slim@sha256:2be8daddbb82756f7d1f2c7ece706aadcb284bf6ab6d769ea695cc3ed6016743
4
4
LABEL com.github.actions.name="stale-repos" \
5
5
com.github.actions.description="Find stale repositories in a GitHub organization." \
6
6
com.github.actions.icon="check-square" \
You can’t perform that action at this time.
0 commit comments