File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1313# limitations under the License.
1414---
1515name : Lint
16- on : [push, pull_request, workflow_dispatch]
16+ on :
17+ push :
18+ branches :
19+ - main
20+ pull_request :
1721jobs :
1822 lint :
1923 concurrency :
20- group : ${{ github.head_ref || github.ref }}
24+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github. head_ref || github.ref }}
2125 cancel-in-progress : true
2226 runs-on : ubuntu-20.04
2327 steps :
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515name : Test
16- on : [push, pull_request]
16+ on :
17+ push :
18+ branches :
19+ - main
20+ pull_request :
1721jobs :
1822 test :
1923 concurrency :
20- group : ${{ github.head_ref || github.ref }}
24+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github. head_ref || github.ref }}
2125 cancel-in-progress : true
2226 runs-on : ubuntu-latest
2327 steps :
You can’t perform that action at this time.
0 commit comments