mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-24 06:07:47 -06:00
GitHub Workflows security hardening (#10456)
* build: harden lock.yml permissions Signed-off-by: Alex <aleksandrosansan@gmail.com> * build: harden stale.yml permissions Signed-off-by: Alex <aleksandrosansan@gmail.com> * build: harden ci.yml permissions Signed-off-by: Alex <aleksandrosansan@gmail.com> Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -1,5 +1,7 @@
|
||||
name: CI
|
||||
on: [push, pull_request]
|
||||
permissions:
|
||||
contents: read # to fetch code (actions/checkout)
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user