|
18 | 18 | name: PostCommit Python Arm |
19 | 19 |
|
20 | 20 | on: |
21 | | - issue_comment: |
22 | | - types: [created] |
23 | 21 | schedule: |
24 | 22 | - cron: '0 5/6 * * *' |
25 | 23 | pull_request_target: |
|
28 | 26 |
|
29 | 27 | # This allows a subsequently queued workflow run to interrupt previous runs |
30 | 28 | concurrency: |
31 | | - 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 }}' |
| 29 | + group: '${{ github.workflow }} @ ${{ github.event.issue.number || github.sha || github.head_ref || github.ref }}-${{ github.event.schedule || github.event.sender.login }}' |
32 | 30 | cancel-in-progress: true |
33 | 31 |
|
34 | 32 | #Setting explicit permissions for the action to avoid the default permissions which are `write-all` in case of pull_request_target event |
|
54 | 52 |
|
55 | 53 | jobs: |
56 | 54 | beam_PostCommit_Python_Arm: |
57 | | - name: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{ matrix.python_version }}) |
| 55 | + name: ${{ matrix.job_name }} ${{ matrix.python_version }} |
58 | 56 | runs-on: ubuntu-22.04 |
59 | 57 | timeout-minutes: 240 |
60 | 58 | strategy: |
61 | 59 | fail-fast: false |
62 | 60 | matrix: |
63 | 61 | job_name: [beam_PostCommit_Python_Arm] |
64 | 62 | job_phrase: [Run Python PostCommit Arm] |
65 | | - python_version: ['3.9', '3.10', '3.11', '3.12', '3.13'] |
| 63 | + python_version: ['3.9', '3.13'] |
66 | 64 | if: | |
67 | 65 | github.event_name == 'workflow_dispatch' || |
68 | 66 | github.event_name == 'pull_request_target' || |
69 | | - (github.event_name == 'schedule' && github.repository == 'apache/beam') || |
70 | | - startsWith(github.event.comment.body, 'Run Python PostCommit Arm') |
| 67 | + (github.event_name == 'schedule' && github.repository == 'apache/beam') |
71 | 68 | steps: |
72 | 69 | - uses: actions/checkout@v4 |
73 | 70 | - name: Setup repository |
74 | 71 | uses: ./.github/actions/setup-action |
75 | 72 | with: |
76 | 73 | comment_phrase: ${{ matrix.job_phrase }} ${{ matrix.python_version }} |
77 | 74 | github_token: ${{ secrets.GITHUB_TOKEN }} |
78 | | - github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{ matrix.python_version }}) |
| 75 | + github_job: ${{ matrix.job_name }} ${{ matrix.python_version }} |
79 | 76 | - name: Setup environment |
80 | 77 | uses: ./.github/actions/setup-environment-action |
81 | 78 | with: |
|
0 commit comments