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
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
schedule:
|
||||
@ -7,6 +9,8 @@ on:
|
||||
|
||||
jobs:
|
||||
update-dependencies:
|
||||
permissions:
|
||||
contents: write
|
||||
name: Update dependencies
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@ -38,7 +42,6 @@ jobs:
|
||||
echo "changed=true" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
id: update_dependencies
|
||||
|
||||
- name: Push changes and create PR
|
||||
if: steps.update_dependencies.outputs.changed == 'true'
|
||||
run: |
|
||||
|
2
.github/workflows/bazel.yml
vendored
2
.github/workflows/bazel.yml
vendored
@ -1,4 +1,6 @@
|
||||
name: Build and Test with Bazel
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
push:
|
||||
|
2
.github/workflows/wasm.yml
vendored
2
.github/workflows/wasm.yml
vendored
@ -1,4 +1,6 @@
|
||||
name: Wasm Build
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user