mirror of https://github.com/apache/lucene.git
GitHub Workflows security hardening (#11789)
This commit is contained in:
parent
ecb0ba542b
commit
26d6063ec3
|
@ -12,6 +12,9 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read # to fetch code (actions/checkout)
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Run distribution tests
|
name: Run distribution tests
|
||||||
|
|
|
@ -10,6 +10,9 @@ on:
|
||||||
- main
|
- main
|
||||||
- branch_9x
|
- branch_9x
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read # to fetch code (actions/checkout)
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# This runs all validation checks without tests.
|
# This runs all validation checks without tests.
|
||||||
checks:
|
checks:
|
||||||
|
|
Loading…
Reference in New Issue