Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 42b04bd

Browse files
authored
Fix check permission for GHA XVR workflows (#29291)
* Fix check permission for GHA XVR workflows * Add missing PostCommit_Singlestore_IOIT to change.md * Fix readme copy-paste leftover
1 parent 42bd0d0 commit 42b04bd

7 files changed

Lines changed: 12 additions & 11 deletions

.github/workflows/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ Please note that jobs with matrix need to have matrix element in the comment. Ex
294294
| [ PostCommit Java Nexmark Spark ](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_Nexmark_Spark.yml) | N/A |`Run Spark Runner Nexmark Tests`| [![.github/workflows/beam_PostCommit_Java_Nexmark_Spark.yml](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_Nexmark_Spark.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_Nexmark_Spark.yml?query=event%3Aschedule) |
295295
| [ PostCommit Java PVR Flink Streaming ](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_PVR_Flink_Streaming.yml) | N/A |`Run Java Flink PortableValidatesRunner Streaming`| [![.github/workflows/beam_PostCommit_Java_PVR_Flink_Streaming.yml](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_PVR_Flink_Streaming.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_PVR_Flink_Streaming.yml?query=event%3Aschedule) |
296296
| [ PostCommit Java PVR Samza ](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_PVR_Samza.yml) | N/A |`Run Java Samza PortableValidatesRunner`| [![.github/workflows/beam_PostCommit_Java_PVR_Samza.yml](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_PVR_Samza.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_PVR_Samza.yml?query=event%3Aschedule) |
297+
| [ PostCommit Java SingleStoreIO IT ](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_SingleStoreIO_IT.yml) | N/A |`Run Java SingleStoreIO_IT`| [![.github/workflows/beam_PostCommit_Java_SingleStoreIO_IT.yml](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_SingleStoreIO_IT.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_SingleStoreIO_IT.yml?query=event%3Aschedule) |
297298
| [ PostCommit Java PVR Spark3 Streaming ](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_PVR_Spark3_Streaming.yml) | N/A |`Run Java Spark v3 PortableValidatesRunner Streaming`| [![.github/workflows/beam_PostCommit_Java_PVR_Spark3_Streaming.yml](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_PVR_Spark3_Streaming.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_PVR_Spark3_Streaming.yml?query=event%3Aschedule) |
298299
| [ PostCommit Java PVR Spark Batch ](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_PVR_Spark_Batch.yml) | N/A |`Run Java Spark PortableValidatesRunner Batch`| [![.github/workflows/beam_PostCommit_Java_PVR_Spark_Batch.yml](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_PVR_Spark_Batch.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_PVR_Spark_Batch.yml?query=event%3Aschedule) |
299300
| [ PostCommit Java Sickbay ](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_Sickbay.yml) | N/A |`Run Java Sickbay`| [![.github/workflows/beam_PostCommit_Java_Sickbay.yml](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_Sickbay.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Java_Sickbay.yml?query=event%3Aschedule) |

.github/workflows/beam_CloudML_Benchmarks_Dataflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ permissions:
4040

4141
# This allows a subsequently queued workflow run to interrupt previous runs
4242
concurrency:
43-
group: '${{ github.workflow }} @ ${{ github.event.issue.number || github.sha || github.head_ref || github.ref }}-${{ github.event.schedule || github.event.comment.body || github.event.sender.login }}'
43+
group: '${{ github.workflow }} @ ${{ github.event.issue.number || github.sha || github.head_ref || github.ref }}-${{ github.event.schedule || github.event.comment.id || github.event.sender.login }}'
4444
cancel-in-progress: true
4545

4646
env:

.github/workflows/beam_PostCommit_XVR_Direct.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ on:
2525
#Setting explicit permissions for the action to avoid the default permissions which are `write-all` in case of pull_request_target event
2626
permissions:
2727
actions: write
28-
pull-requests: read
29-
checks: read
28+
pull-requests: write
29+
checks: write
3030
contents: read
3131
deployments: read
3232
id-token: none

.github/workflows/beam_PostCommit_XVR_Flink.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ on:
2525
#Setting explicit permissions for the action to avoid the default permissions which are `write-all` in case of pull_request_target event
2626
permissions:
2727
actions: write
28-
pull-requests: read
29-
checks: read
28+
pull-requests: write
29+
checks: write
3030
contents: read
3131
deployments: read
3232
id-token: none

.github/workflows/beam_PostCommit_XVR_JavaUsingPython_Dataflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ on:
2525
#Setting explicit permissions for the action to avoid the default permissions which are `write-all` in case of pull_request_target event
2626
permissions:
2727
actions: write
28-
pull-requests: read
29-
checks: read
28+
pull-requests: write
29+
checks: write
3030
contents: read
3131
deployments: read
3232
id-token: none

.github/workflows/beam_PostCommit_XVR_Samza.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ on:
2525
#Setting explicit permissions for the action to avoid the default permissions which are `write-all` in case of pull_request_target event
2626
permissions:
2727
actions: write
28-
pull-requests: read
29-
checks: read
28+
pull-requests: write
29+
checks: write
3030
contents: read
3131
deployments: read
3232
id-token: none

.github/workflows/beam_PostCommit_XVR_Spark3.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ on:
2525
#Setting explicit permissions for the action to avoid the default permissions which are `write-all` in case of pull_request_target event
2626
permissions:
2727
actions: write
28-
pull-requests: read
29-
checks: read
28+
pull-requests: write
29+
checks: write
3030
contents: read
3131
deployments: read
3232
id-token: none

0 commit comments

Comments
 (0)