Skip to content

Commit 805cae1

Browse files
tony-josi-awsAniruddhaKanhere
authored andcommitted
Follow security guidelines with github actions
1 parent 69539fc commit 805cae1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ jobs:
8484
name: FreeRTOSv${{ github.event.inputs.version_number }}.zip
8585
path: zip-check/FreeRTOSv${{ github.event.inputs.version_number }}.zip
8686
create-release:
87+
permissions:
88+
id-token: write
8789
needs: create-zip
8890
name: Create Release and Upload Release Asset
8991
runs-on: ubuntu-latest
@@ -113,3 +115,8 @@ jobs:
113115
asset_path: ./FreeRTOSv${{ github.event.inputs.version_number }}.zip
114116
asset_name: FreeRTOSv${{ github.event.inputs.version_number }}.zip
115117
asset_content_type: application/zip
118+
- name: Backup Release Asset
119+
uses: FreeRTOS/CI-CD-Github-Actions/artifact-backup@main
120+
with:
121+
artifact_path: ./FreeRTOSv${{ github.event.inputs.version_number }}.zip
122+
release_tag: ${{ github.event.inputs.version_number }}

0 commit comments

Comments
 (0)