fix: fixed the token-permission and pinned-dependencies issue

Signed-off-by: harshitasao <harshitasao@gmail.com>
pull/13259/head
harshitasao 5 months ago
parent 109dbe7c18
commit b4caed94cd

@ -8,6 +8,9 @@ on:
branches:
- main
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest

@ -20,6 +20,9 @@ on:
schedule:
- cron: '29 6 * * 6'
permissions:
contents: read
jobs:
analyze:
name: Analyze

@ -4,6 +4,9 @@ on:
push:
pull_request:
permissions:
contents: read
jobs:
golangci:
name: golangci-lint

@ -2,11 +2,14 @@ name: "Close stale issues"
on:
schedule:
- cron: "0 0 * * *"
permissions:
contents: read
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3.0.14
- uses: actions/stale@87c2b794b9b47a9bec68ae03c01aeb572ffebdb1 # v3.0.14
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.'

Loading…
Cancel
Save