Skip to content

Commit

Permalink
Fix image release workflows and explicitly add permission blocks (#956)
Browse files Browse the repository at this point in the history
* Update workflows and explcity add permission blocks

* Updates pagination

* update launch.json
  • Loading branch information
samruddhikhandale authored Feb 8, 2024
1 parent 65aa32d commit 3bd6af8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/push-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
if: "github.ref == 'refs/heads/main'"
strategy:
matrix:
page: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66]
page-total: [66]
page: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70]
page-total: [70]
fail-fast: false
runs-on: devcontainer-image-builder-ubuntu
steps:
Expand Down Expand Up @@ -72,6 +72,9 @@ jobs:
name: Trigger info extraction
needs: [build-and-push]
uses: devcontainers/images/.github/workflows/version-history.yml@main
permissions:
contents: write
pull-requests: write
with:
release: "${{ github.ref }}"
cg: "true"
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
if: ${{ github.event.base_ref == 'refs/heads/main' }}
strategy:
matrix:
page: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66]
page-total: [66]
page: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70]
page-total: [70]
fail-fast: false
runs-on: devcontainer-image-builder-ubuntu
steps:
Expand Down Expand Up @@ -72,6 +72,9 @@ jobs:
name: Trigger info extraction
needs: [build-and-push]
uses: devcontainers/images/.github/workflows/version-history.yml@main
permissions:
contents: write
pull-requests: write
with:
release: "${{ github.ref }}"
cg: "false"
Expand Down
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"--page",
"1",
"--pageTotal",
"66"
"70"
],
"console": "integratedTerminal",
}
Expand Down

0 comments on commit 3bd6af8

Please sign in to comment.