From 455016b1bb09f76a88f0eca1e94e8cbc74abf50b Mon Sep 17 00:00:00 2001 From: George Taylor Date: Fri, 3 Nov 2023 10:20:31 +0000 Subject: [PATCH 1/2] Update oracle-db-backup.yml --- .github/workflows/oracle-db-backup.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/oracle-db-backup.yml b/.github/workflows/oracle-db-backup.yml index 61309c66..f1b823b1 100644 --- a/.github/workflows/oracle-db-backup.yml +++ b/.github/workflows/oracle-db-backup.yml @@ -1,4 +1,6 @@ name: "Oracle: Backup" +permissions: + id-token: write # This is required for requesting the JWT run-name: "Oracle: ${{ github.event_name == 'workflow_dispatch' && format('{0}_{1}_{2}', github.event.inputs.TargetEnvironment, github.event.inputs.Period, github.event.inputs.TargetHost) }}_database_backup" on: workflow_dispatch: @@ -189,4 +191,4 @@ jobs: - name: Start Ansible Delete DBIDs Not In Use if: ${{ env.DeleteDefunct == 'yes' }} run: $delete_dbids_command -i $inventory -e rman_target=$RmanTarget $VerboseOutput - \ No newline at end of file + From 7eb24e94b96e98b3790d1b69bb5af94e14c8c0c4 Mon Sep 17 00:00:00 2001 From: ranbeersingh1 Date: Fri, 3 Nov 2023 10:58:30 +0000 Subject: [PATCH 2/2] Correct double permissions --- .github/workflows/oracle-db-backup.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/oracle-db-backup.yml b/.github/workflows/oracle-db-backup.yml index f1b823b1..d689a8df 100644 --- a/.github/workflows/oracle-db-backup.yml +++ b/.github/workflows/oracle-db-backup.yml @@ -1,6 +1,4 @@ name: "Oracle: Backup" -permissions: - id-token: write # This is required for requesting the JWT run-name: "Oracle: ${{ github.event_name == 'workflow_dispatch' && format('{0}_{1}_{2}', github.event.inputs.TargetEnvironment, github.event.inputs.Period, github.event.inputs.TargetHost) }}_database_backup" on: workflow_dispatch: @@ -105,6 +103,7 @@ on: permissions: contents: read packages: read + id-token: write # This is required for requesting the JWT jobs: build_rman_target_name: