Skip to content

Commit 25c895a

Browse files
author
Raphaël Droz
committed
ci fix?
1 parent 6ecf685 commit 25c895a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/actions.yml

+16
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,26 @@ name: "CI"
22

33
on:
44
pull_request_target:
5+
types: [opened, synchronize, reopened]
56
push:
67
branches:
78
- 'v3'
89
- 'feature/*'
910
- 'fix/*'
1011
workflow_dispatch:
1112

13+
permissions:
14+
actions: read
15+
checks: write
16+
contents: read
17+
deployments: read
18+
issues: read
19+
packages: read
20+
pull-requests: write
21+
repository-projects: read
22+
security-events: read
23+
statuses: write
24+
1225
env:
1326
SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}}
1427
SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}}
@@ -31,6 +44,7 @@ jobs:
3144
with:
3245
ref: ${{ github.event.pull_request.head.sha }}
3346
fetch-depth: 2
47+
persist-credentials: false
3448

3549
- name: Is environment ok
3650
run: |
@@ -40,6 +54,8 @@ jobs:
4054
id: source-changed
4155
uses: tj-actions/[email protected]
4256
with:
57+
base_sha: ${{ github.event.pull_request.head.sha }}
58+
sha: ${{ github.sha }}
4359
files: |
4460
src
4561
test

0 commit comments

Comments
 (0)