Skip to content

Commit

Permalink
Re-enable schedule trigger for PostCommit Java IO Performance Tests (#…
Browse files Browse the repository at this point in the history
…31024)

* Re-enable schedule trigger for PostCommit Java IO Performance Tests

* Fix permissions
  • Loading branch information
damccorm authored May 2, 2024
1 parent 9f715b0 commit 6fdabea
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/beam_PostCommit_Java_IO_Performance_Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ name: PostCommit Java IO Performance Tests
on:
issue_comment:
types: [created]
# schedule:
# - cron: '0 4/6 * * *'
schedule:
- cron: '0 4/6 * * *'
pull_request_target:
paths: ['release/trigger_all_tests.json', '.github/trigger_files/beam_PostCommit_Java_IO_Performance_Tests.json']
workflow_dispatch:

#Setting explicit permissions for the action to avoid the default permissions which are `write-all` in case of pull_request_target event
permissions:
actions: write
pull-requests: read
checks: read
pull-requests: write
checks: write
contents: read
deployments: read
id-token: none
issues: read
issues: write
discussions: read
packages: read
pages: read
Expand Down Expand Up @@ -127,4 +127,4 @@ jobs:
with:
commit: '${{ env.prsha || env.GITHUB_SHA }}'
comment_mode: ${{ github.event_name == 'issue_comment' && 'always' || 'off' }}
files: '**/build/test-results/**/*.xml'
files: '**/build/test-results/**/*.xml'

0 comments on commit 6fdabea

Please sign in to comment.