Skip to content

Commit 2caea96

Browse files
committed
Update workflow practices
1 parent d809796 commit 2caea96

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/validate.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,23 @@ name: Validate
33
on:
44
pull_request:
55
push:
6+
branches:
7+
- master
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }}
11+
cancel-in-progress: true
12+
13+
permissions: {}
614

715
jobs:
816
test:
917
runs-on: ubuntu-latest
1018
steps:
1119
- name: Check out repository
1220
uses: actions/checkout@v6
21+
with:
22+
persist-credentials: false
1323

1424
- name: Set up Python
1525
uses: actions/setup-python@v6

0 commit comments

Comments
 (0)