Skip to content

Commit 8bb713b

Browse files
committed
Provide version tags for Actions
1 parent aed708f commit 8bb713b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/lint.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,21 @@ jobs:
2626

2727
steps:
2828
- name: Checkout repo
29-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
29+
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
3030
with:
3131
token: ${{ secrets.GITHUB_TOKEN }}
3232
fetch-depth: 0
3333

3434
- name: Lint
3535
id: ml
36-
uses: oxsecurity/megalinter@c364436149b0ef3578bd24fa38ed9aa23af884db
36+
uses: oxsecurity/megalinter@93700f8c21c59ea784a32abe23896e49e54463b8 # v6.22.2
3737
env:
3838
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040

4141
- name: Upload report
4242
if: ${{ success() }} || ${{ failure() }}
43-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
43+
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
4444
with:
4545
name: Lint Report
4646
path: |
@@ -50,7 +50,7 @@ jobs:
5050
- name: Create pull request with applied fixes
5151
id: cpr
5252
if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
53-
uses: peter-evans/create-pull-request@2b011faafdcbc9ceb11414d64d0573f37c774b04
53+
uses: peter-evans/create-pull-request@38e0b6e68b4c852a5500a94740f0e535e0d7ba54 # v4.2.4
5454
with:
5555
token: ${{ secrets.GITHUB_TOKEN }}
5656
commit-message: "Apply lint fixes"
@@ -67,7 +67,7 @@ jobs:
6767
run: sudo chown -Rc $UID .git/
6868
- name: Commit and push applied lint fixes
6969
if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
70-
uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a
70+
uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a # v4.16.0
7171
with:
7272
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
7373
commit_message: "Apply lint fixes"

0 commit comments

Comments
 (0)