Merge pull request #6793 from sashashura/patch-1

GitHub Workflows security hardening
main
Elbert Alias 2 years ago committed by GitHub
commit db99ccddae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,8 +3,13 @@ on:
schedule:
- cron: "30 0 * * *"
permissions: {}
jobs:
close-issues:
permissions:
issues: write # to close stale issues (actions/stale)
pull-requests: write # to close stale PRs (actions/stale)
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3

@ -2,6 +2,9 @@ name: "submit"
on:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest

@ -3,6 +3,9 @@ on:
push:
pull_request:
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
validate:
name: Validate

Loading…
Cancel
Save