Skip to content

Commit 6251b3c

Browse files
authored
chore(ci): bump/pin action versions (#267)
1 parent bbcafc5 commit 6251b3c

3 files changed

Lines changed: 13 additions & 37 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Build
22
on:
33
push:
4+
branches:
5+
- main
46
pull_request:
57

68
concurrency:
@@ -12,10 +14,10 @@ jobs:
1214
runs-on: ubuntu-latest
1315
steps:
1416
- name: Checkout repository
15-
uses: actions/checkout@v6
17+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1618

1719
- name: Set up Node.js
18-
uses: actions/setup-node@v6
20+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
1921
with:
2022
node-version: '24'
2123

Lines changed: 5 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
1-
# For most projects, this workflow file will not need changing; you simply need
2-
# to commit it to your repository.
3-
#
4-
# You may wish to alter this file to override the set of languages analyzed,
5-
# or to provide custom queries or build logic.
6-
#
7-
# ******** NOTE ********
8-
# We have attempted to detect the languages in your repository. Please check
9-
# the `language` matrix defined below to confirm you have the correct set of
10-
# supported CodeQL languages.
11-
#
121
name: 'CodeQL'
132

143
on:
154
push:
16-
branches: [main]
5+
branches:
6+
- main
177
pull_request:
188
# The branches below must be a subset of the branches above
19-
branches: [main]
9+
branches:
10+
- main
2011

2112
jobs:
2213
analyze:
@@ -31,15 +22,11 @@ jobs:
3122
fail-fast: false
3223
matrix:
3324
language: ['javascript']
34-
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
35-
# Learn more:
36-
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
3725

3826
steps:
3927
- name: Checkout repository
40-
uses: actions/checkout@v6
28+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4129

42-
# Initializes the CodeQL tools for scanning.
4330
- name: Initialize CodeQL
4431
uses: github/codeql-action/init@v1
4532
with:
@@ -49,21 +36,8 @@ jobs:
4936
# Prefix the list here with "+" to use these queries and those in the config file.
5037
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5138

52-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
53-
# If this step fails, then you should remove it and run the build manually (see below)
5439
- name: Autobuild
5540
uses: github/codeql-action/autobuild@v1
5641

57-
# ℹ️ Command-line programs to run using the OS shell.
58-
# 📚 https://git.io/JvXDl
59-
60-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
61-
# and modify them (or add more) to build your code if your project
62-
# uses a compiled language
63-
64-
#- run: |
65-
# make bootstrap
66-
# make release
67-
6842
- name: Perform CodeQL Analysis
6943
uses: github/codeql-action/analyze@v1

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v6
21+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2222

2323
- name: Set up Node.js
24-
uses: actions/setup-node@v6
24+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
2525
with:
2626
node-version: '24'
2727

@@ -36,7 +36,7 @@ jobs:
3636
VERSION="$VERSION" npm run build:firefox
3737
3838
- name: Upload Chrome package to release
39-
uses: svenstaro/upload-release-action@v2
39+
uses: svenstaro/upload-release-action@29e53e917877a24fad85510ded594ab3c9ca12de # v2.11.5
4040
with:
4141
repo_token: ${{ secrets.GITHUB_TOKEN }}
4242
file: build/HyperChat-chrome.zip
@@ -45,7 +45,7 @@ jobs:
4545
overwrite: true
4646

4747
- name: Upload Firefox package to release
48-
uses: svenstaro/upload-release-action@v2
48+
uses: svenstaro/upload-release-action@29e53e917877a24fad85510ded594ab3c9ca12de # v2.11.5
4949
with:
5050
repo_token: ${{ secrets.GITHUB_TOKEN }}
5151
file: build/HyperChat-firefox.zip

0 commit comments

Comments
 (0)