Skip to content

Commit 6a4c62e

Browse files
authored
Merge pull request #31 from CVEProject/hotfix/2025-03-18_use_commit_hashes_for_external_github_actions
Hotfix/2025 03 18 use commit hashes for external GitHub actions
2 parents 105f009 + 3e6b975 commit 6a4c62e

3 files changed

Lines changed: 3 additions & 32 deletions

File tree

github-actions/baseline.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -53,32 +53,3 @@ jobs:
5353
name: ${{ needs.generate-name.outputs.v_current_run_timestamp }}_all_CVEs_at_midnight.zip
5454
path: ./cves.zip
5555
overwrite: true
56-
# create_release:
57-
# needs: [generate-name, create_artifacts]
58-
# environment: development
59-
# runs-on: ubuntu-latest
60-
# steps:
61-
# # - name: create release
62-
# # id: create_release
63-
# # uses: actions/create-release@v1
64-
# # env:
65-
# # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66-
# # with:
67-
# # tag_name: cve_${{ needs.generate-name.outputs.v_current_run_timestamp }}
68-
# # release_name: CVE Release ${{ needs.generate-name.outputs.v_current_run_timestamp }}
69-
# # draft: false
70-
# # prerelease: false
71-
# # # make_latest: true
72-
# # - name: Update release notes
73-
# # run: echo "CVEs updated" > release_notes.md
74-
# - name: create release with source code as artifacts
75-
# uses: softprops/action-gh-release@v1
76-
# with:
77-
# name: CVE ${{ needs.generate-name.outputs.v_current_run_timestamp }}
78-
# # body: Descriptions for CVE ${{ needs.generate-name.outputs.v_current_run_timestamp }} goes here
79-
# body_path: ./release_notes.md
80-
# tag_name: cve_${{ needs.generate-name.outputs.v_current_run_timestamp }}
81-
# files: |
82-
# release_notes.md
83-
# ${{ needs.generate-name.outputs.v_current_run_timestamp }}_all_CVEs_at_midnight.zip
84-
# recent_activities.json

github-actions/delta-yesterday.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
run: |
5656
ls
5757
- name: create release with source code as artifacts
58-
uses: softprops/action-gh-release@v1
58+
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
5959
with:
6060
name: CVE ${{ env.timestamp }} at End of Day
6161
body_path: ./release_notes.md

github-actions/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
with:
6262
node-version: 18
6363
- name: Download artifact from baseline workflow
64-
uses: dawidd6/action-download-artifact@v6
64+
uses: dawidd6/action-download-artifact@bf251b5aa9c2f7eeb574a96ee720e24f801b7c11
6565
with:
6666
workflow: baseline.yml
6767
workflow_conclusion: success
@@ -72,7 +72,7 @@ jobs:
7272
ls ./.github/workflows/dist
7373
node ./.github/workflows/dist/index.js delta
7474
- name: create release with source code as artifacts
75-
uses: softprops/action-gh-release@v1
75+
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
7676
with:
7777
name: CVE ${{ needs.generate-name.outputs.v_current_run_timestamp }}
7878
# body: Descriptions for CVE ${{ needs.generate-name.outputs.v_current_run_timestamp }} goes here

0 commit comments

Comments
 (0)