Skip to content

Commit

Permalink
Merge pull request #550 from bugsnag/tom/pin-gha
Browse files Browse the repository at this point in the history
bump and pin GitHub Action dependencies
  • Loading branch information
tomlongridge authored Dec 18, 2024
2 parents 47e4085 + ec55584 commit 33b9750
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 15 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
4 changes: 2 additions & 2 deletions .github/workflows/compare-pr-stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
with:
node-version: 18
cache: 'npm'

- run: npm ci

- name: Leave comment
uses: actions/github-script@v6
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
with:
script: |
const leaveComment = require('./.github/leave-pr-stats-comment.js')
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
with:
node-version: 18
cache: 'npm'
Expand All @@ -21,8 +21,8 @@ jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
with:
node-version: 18
cache: 'npm'
Expand All @@ -33,8 +33,8 @@ jobs:
unit_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
with:
node-version: 18
cache: 'npm'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/record-pr-stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:
code-coverage: ${{ steps.code-coverage.outputs.result }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
ref: ${{ inputs.ref }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
with:
node-version: 18
cache: 'npm'
Expand All @@ -49,7 +49,7 @@ jobs:
- run: npm run test:coverage

- id: package
uses: actions/github-script@v6
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
with:
script: |
let json = ''
Expand Down Expand Up @@ -85,18 +85,18 @@ jobs:
echo "size=$SIZE" >> $GITHUB_OUTPUT
- id: code-coverage
uses: actions/github-script@v6
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
with:
script: |
return require('./coverage/coverage-summary.json')
- uses: actions/upload-artifact@v3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: packages-${{ inputs.ref }}
path: |
bugsnag-*.tgz
- uses: actions/upload-artifact@v3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: bundles-${{ inputs.ref }}
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/signing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: |
echo "${{ secrets.PLATFORMS_GPG_KEY_BASE64 }}" | base64 --decode | gpg --batch --import
- name: Sign assets
uses: bugsnag/platforms-release-signer@main
uses: uses: bugsnag/platforms-release-signer@4d88944b11e503624f8a511cf6d0fa2901822b60
with:
github_token: ${{ secrets.PLATFORMS_SIGNING_GITHUB_TOKEN }}
full_repository: ${{ github.repository }}
Expand Down

0 comments on commit 33b9750

Please sign in to comment.