File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Checkout
2+ description : Checkout a Git repository at a particular version
3+ # Based on https://github.com/actions/checkout/blob/main/action.yml
4+
5+ inputs :
6+ ref :
7+ description : >
8+ The branch, tag or SHA to checkout. When checking out the repository that
9+ triggered a workflow, this defaults to the reference or SHA for that
10+ event. Otherwise, uses the default branch.
11+ required : false
12+ type : string
13+ persist-credentials :
14+ description : Whether to configure the token or SSH key with the local git config
15+ required : false
16+ type : boolean
17+ default : true
18+ fetch-depth :
19+ description : Number of commits to fetch. 0 indicates all history for all branches and tags.
20+ required : false
21+ type : number
22+ default : 1
23+ outputs :
24+ ref :
25+ description : The branch, tag or SHA that was checked out
26+ value : ${{ steps.checkout.outputs.ref }}
27+ commit :
28+ description : The commit SHA that was checked out
29+ value : ${{ steps.checkout.outputs.commit }}
30+
31+ runs :
32+ using : " composite"
33+ steps :
34+ - name : Checkout Code
35+ id : checkout
36+ uses : actions/checkout@v7.0.0
37+ with :
38+ ref : ${{ inputs.ref != '' && inputs.ref || '' }}
39+ persist-credentials : ${{ inputs.persist-credentials }}
40+ fetch-depth : ${{ inputs.fetch-depth }}
Original file line number Diff line number Diff line change 1+ name : First Interaction
2+ description : Greet first-time contributors when they open an issue or PR
3+ # Based on https://github.com/actions/first-interaction/blob/main/action.yml
4+
5+ inputs :
6+ issue_message :
7+ description : Comment to post on an individual's first issue
8+ required : false
9+ type : string
10+ pr_message :
11+ description : Comment to post on an individual's first pull request
12+ required : false
13+ type : string
14+ repo_token :
15+ description : Token with permissions to post issue and PR comments
16+ required : true
17+ type : string
18+ default : ${{ github.token }}
19+
20+ runs :
21+ using : " composite"
22+ steps :
23+ - name : First Interaction
24+ uses : actions/first-interaction@v3.1.0
25+ with :
26+ issue_message : ${{ inputs.issue_message != '' && inputs.issue_message || '' }}
27+ pr_message : ${{ inputs.pr_message != '' && inputs.pr_message || '' }}
28+ repo_token : ${{ inputs.repo_token }}
Original file line number Diff line number Diff line change @@ -39,13 +39,13 @@ jobs:
3939 runs-on : ubuntu-latest
4040 steps :
4141 - name : Check Out Repo (Commit)
42- uses : actions/checkout@v7
42+ uses : actions/checkout@v7.0.0
4343 if : ${{ github.event_name != 'pull_request_target' }}
4444 with :
4545 persist-credentials : false
4646
4747 - name : Check Out Repo (PR)
48- uses : actions/checkout@v7
48+ uses : actions/checkout@v7.0.0
4949 if : ${{ github.event_name == 'pull_request_target' }}
5050 with :
5151 ref : ${{ github.event.pull_request.head.sha }}
7070 echo "> MULTI_ARCH=${{ inputs.MULTI_ARCH || 'false' }}" >> $GITHUB_STEP_SUMMARY
7171
7272 - name : Set up QEMU
73- uses : docker/setup-qemu-action@v4
73+ uses : docker/setup-qemu-action@v4.2.0
7474
7575 - name : Build image
7676 run : |
Original file line number Diff line number Diff line change 66 permission_check :
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/checkout@v7
9+ - uses : actions/checkout@v7.0.0
1010 with :
1111 ref : ${{ github.event.pull_request.head.sha }}
1212 persist-credentials : false
You can’t perform that action at this time.
0 commit comments