Skip to content

Commit

Permalink
fix: Resolve transition to read-only GH TOKEN (Azure#919)
Browse files Browse the repository at this point in the history
  • Loading branch information
eriqua authored Feb 4, 2024
1 parent 5795652 commit 34d73db
Show file tree
Hide file tree
Showing 89 changed files with 268 additions and 96 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/avm.res.analysis-services.server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/avm.res.api-management.service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/avm.res.app.container-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -71,7 +70,10 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/avm.res.app.managed-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -71,7 +70,10 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/avm.res.automation.automation-account.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/avm.res.batch.batch-account.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/avm.res.cache.redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/avm.res.cognitive-services.account.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/avm.res.compute.availability-set.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/avm.res.compute.disk-encryption-set.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/avm.res.compute.disk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/avm.res.compute.gallery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/avm.res.compute.image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/avm.res.compute.ssh-public-key.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/avm.res.compute.virtual-machine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/avm.res.consumption.budget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/avm.res.container-registry.registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -71,7 +70,10 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/avm.res.data-factory.factory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/avm.res.data-protection.backup-vault.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: "Remove deployed module"
required: false
default: true

push:
branches:
- main
Expand Down Expand Up @@ -72,6 +71,9 @@ jobs:
##############################
call-workflow-passing-data:
name: "Run"
permissions:
id-token: write # For OIDC
contents: write # For release tags
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Loading

0 comments on commit 34d73db

Please sign in to comment.