Skip to content

Commit

Permalink
ci: pin versions for 3rd party github actions (#1016)
Browse files Browse the repository at this point in the history
  • Loading branch information
patricebender authored Feb 9, 2025
1 parent 3fe6e6b commit fae1ff9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
runs-on: ubuntu-latest
environment: npm
steps:
- uses: googleapis/release-please-action@v4
# v4.1.3
- uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f
id: release
with:
token: ${{secrets.CDS_DBS_TOKEN}}
Expand All @@ -23,6 +24,7 @@ jobs:
node-version: 20
registry-url: 'https://registry.npmjs.org'

- run: npm install -g @sap/cds-dk
# Run tests
- run: npm ci
if: ${{ steps.release.outputs.releases_created }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
# v1.3.1
uses: martinbeentjes/npm-get-version-action@3cf273023a0dda27efcd3164bdfb51908dd46a5b
- name: Create a GitHub release
uses: ncipollo/release-action@v1
# v1.15.0
uses: ncipollo/release-action@cdcc88a9acf3ca41c16c37bb7d21b9ad48560d87
with:
tag: 'v${{ steps.package-version.outputs.current-version}}'
name: 'Release v${{ steps.package-version.outputs.current-version}}'
Expand Down

0 comments on commit fae1ff9

Please sign in to comment.