mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2025-01-12 09:20:15 +00:00
Change default permissions for workflows (#5149)
* change default workflow permission to read-all Fixes #5147 * permission: content read-only * remove bad changes
This commit is contained in:
parent
44d72a9b36
commit
7cefd5f5f8
5
.github/workflows/autoroll.yml
vendored
5
.github/workflows/autoroll.yml
vendored
@ -1,4 +1,6 @@
|
|||||||
name: Update dependencies
|
name: Update dependencies
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
@ -7,6 +9,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update-dependencies:
|
update-dependencies:
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
name: Update dependencies
|
name: Update dependencies
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@ -38,7 +42,6 @@ jobs:
|
|||||||
echo "changed=true" >> $GITHUB_OUTPUT
|
echo "changed=true" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
id: update_dependencies
|
id: update_dependencies
|
||||||
|
|
||||||
- name: Push changes and create PR
|
- name: Push changes and create PR
|
||||||
if: steps.update_dependencies.outputs.changed == 'true'
|
if: steps.update_dependencies.outputs.changed == 'true'
|
||||||
run: |
|
run: |
|
||||||
|
2
.github/workflows/bazel.yml
vendored
2
.github/workflows/bazel.yml
vendored
@ -1,4 +1,6 @@
|
|||||||
name: Build and Test with Bazel
|
name: Build and Test with Bazel
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
2
.github/workflows/wasm.yml
vendored
2
.github/workflows/wasm.yml
vendored
@ -1,4 +1,6 @@
|
|||||||
name: Wasm Build
|
name: Wasm Build
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user