@@ -36,32 +36,32 @@ jobs:
36
36
37
37
# Custom steps to fetch the PR and checkout the code:
38
38
- name : Authenticate as GitHub App
39
- uses : actions/create-github-app-token@v2
39
+ uses : actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
40
40
id : get-app-token
41
41
with :
42
42
owner : " airbytehq"
43
43
repositories : " PyAirbyte"
44
44
app-id : ${{ secrets.OCTAVIA_BOT_APP_ID }}
45
45
private-key : ${{ secrets.OCTAVIA_BOT_PRIVATE_KEY }}
46
46
- name : Checkout Airbyte
47
- uses : actions/checkout@v5
47
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
48
48
with :
49
49
# Important that this is set so that CI checks are triggered again
50
50
# Without this we would be forever waiting on required checks to pass
51
51
token : ${{ steps.get-app-token.outputs.token }}
52
52
53
53
- name : Checkout PR (${{ github.event.inputs.pr }})
54
- uses : dawidd6/action-checkout-pr@v1
54
+ uses : dawidd6/action-checkout-pr@a7598e18433a763b784f17d666372913d8bd4205 # v1.2.0
55
55
with :
56
56
pr : ${{ github.event.inputs.pr }}
57
57
58
58
- name : Resolve workflow variables
59
59
id : vars
60
- uses : aaronsteers/resolve-ci-vars-action@v0
60
+ uses : aaronsteers/resolve-ci-vars-action@2e56afab0344bbe03c047dfa39bae559d0291472 # v0.1.6
61
61
62
62
- name : Append comment with job run link
63
63
id : first-comment-action
64
- uses : peter-evans/create-or-update-comment@v4
64
+ uses : peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
65
65
with :
66
66
comment-id : ${{ github.event.inputs.comment-id }}
67
67
issue-number : ${{ github.event.inputs.pr }}
@@ -77,11 +77,11 @@ jobs:
77
77
[1]: ${{ steps.vars.outputs.run-url }}
78
78
79
79
- name : Set up Python
80
- uses : actions/setup-python@v5
80
+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
81
81
with :
82
82
python-version : ${{ matrix.python-version }}
83
83
- name : Set up Poetry
84
- uses : Gr1N/setup-poetry@v9
84
+ uses : Gr1N/setup-poetry@48b0f77c8c1b1b19cb962f0f00dff7b4be8f81ec # v9
85
85
with :
86
86
poetry-version : " 2.2.0"
87
87
- name : Install dependencies
@@ -150,7 +150,7 @@ jobs:
150
150
git push contributor HEAD:${{ steps.vars.outputs.pr-source-git-branch }}
151
151
152
152
- name : Append success comment
153
- uses : peter-evans/create-or-update-comment@v4
153
+ uses : peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
154
154
if : steps.git-diff.outputs.changes == 'true' || steps.git-diff-2.outputs.changes == 'true'
155
155
with :
156
156
comment-id : ${{ steps.first-comment-action.outputs.comment-id }}
@@ -159,7 +159,7 @@ jobs:
159
159
> ✅ Changes applied successfully.
160
160
161
161
- name : Append success comment (no-op)
162
- uses : peter-evans/create-or-update-comment@v4
162
+ uses : peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
163
163
if : steps.git-diff.outputs.changes != 'true' && steps.git-diff-2.outputs.changes != 'true'
164
164
with :
165
165
comment-id : ${{ steps.first-comment-action.outputs.comment-id }}
@@ -168,7 +168,7 @@ jobs:
168
168
> 🟦 Job completed successfully (no changes).
169
169
170
170
- name : Append failure comment
171
- uses : peter-evans/create-or-update-comment@v4
171
+ uses : peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
172
172
if : failure()
173
173
with :
174
174
comment-id : ${{ steps.first-comment-action.outputs.comment-id }}
0 commit comments