Skip to content

Commit 911da4d

Browse files
authored
Merge pull request #201 from coliff/dependabot/github_actions/github-actions-1893dd32ff
Bump github/codeql-action from 3 to 4 in the github-actions group
2 parents c62c90f + e2f6659 commit 911da4d

File tree

4 files changed

+29
-18
lines changed

4 files changed

+29
-18
lines changed

.github/AGENTS.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Agents
2+
3+
<!-- https://agents.md -->
4+
5+
## GitHub Actions Workflows
6+
7+
- All GitHub Actions should be pinned versions (SHA-1) to avoid breaking changes.
8+
- If using `actions/checkout`, it should have `persist-credentials: false` set.
9+
- Always use the latest available versions of GitHub Actions.
10+
- GitHub Actions filenames should be all lowercase, with dashes separating words.
11+
- All GitHub Actions workflows should always be formatted with Prettier.

.github/workflows/codeql-analysis.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- main
1111
- "!dependabot/**"
1212

13-
permissions: # added using https://github.com/step-security/secure-workflows
13+
permissions: # added using https://github.com/step-security/secure-workflows
1414
contents: read
1515

1616
jobs:
@@ -23,13 +23,13 @@ jobs:
2323
security-events: write
2424

2525
steps:
26-
- name: Checkout repository
27-
uses: actions/checkout@v5
26+
- name: Checkout repository
27+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2828

29-
- name: Initialize CodeQL
30-
uses: github/codeql-action/init@v3
31-
with:
32-
languages: "javascript"
29+
- name: Initialize CodeQL
30+
uses: github/codeql-action/init@2152c31696c8409983789c80ab57c4d91465a2fc # v4
31+
with:
32+
languages: "javascript"
3333

34-
- name: Perform CodeQL Analysis
35-
uses: github/codeql-action/analyze@v3
34+
- name: Perform CodeQL Analysis
35+
uses: github/codeql-action/analyze@2152c31696c8409983789c80ab57c4d91465a2fc # v4
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'Dependency Review'
1+
name: "Dependency Review"
22
on: [pull_request]
33

44
permissions:
@@ -8,10 +8,10 @@ jobs:
88
dependency-review:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: 'Checkout Repository'
12-
uses: actions/checkout@v5
11+
- name: "Checkout Repository"
12+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
1313
with:
1414
persist-credentials: false
1515

16-
- name: 'Dependency Review'
17-
uses: actions/dependency-review-action@v4
16+
- name: "Dependency Review"
17+
uses: actions/dependency-review-action@46a3c492319c890177366b6ef46d6b4f89743ed4 # v4

.github/workflows/linter.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ permissions:
99
jobs:
1010
build:
1111
permissions:
12-
contents: read # for actions/checkout to fetch code
13-
statuses: write # for github/super-linter/slim to mark status of each linter run
12+
contents: read # for actions/checkout to fetch code
13+
statuses: write # for github/super-linter/slim to mark status of each linter run
1414
name: Lint Code Base
1515
runs-on: ubuntu-latest
1616

1717
steps:
1818
- name: Checkout Code
19-
uses: actions/checkout@v5
19+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2020
with:
2121
fetch-depth: 0
2222
persist-credentials: false
2323

2424
- name: Lint Code Base
25-
uses: super-linter/super-linter/slim@v8
25+
uses: super-linter/super-linter/slim@f6d06a003575dde14f917e642302cf1251f28f4a # v8
2626
env:
2727
DEFAULT_BRANCH: main
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)