Przeglądaj źródła

Add workflow_dispatch event

jeremystretch 3 lat temu
rodzic
commit
62820ea2b8

+ 1 - 1
.github/workflows/ci.yml

@@ -1,7 +1,7 @@
 name: CI
 on: [push, pull_request]
 permissions:
-  contents: read # to fetch code (actions/checkout)
+  contents: read
 jobs:
   build:
     runs-on: ubuntu-latest

+ 1 - 0
.github/workflows/lock.yml

@@ -4,6 +4,7 @@ name: 'Lock threads'
 on:
   schedule:
     - cron: '0 3 * * *'
+  workflow_dispatch:
 
 permissions:
   issues: write

+ 1 - 0
.github/workflows/stale.yml

@@ -4,6 +4,7 @@ name: 'Close stale issues/PRs'
 on:
   schedule:
     - cron: '0 4 * * *'
+  workflow_dispatch:
 
 permissions:
   issues: write