Explorar el Código

Add workflow_dispatch event

jeremystretch hace 3 años
padre
commit
62820ea2b8
Se han modificado 3 ficheros con 3 adiciones y 1 borrados
  1. 1 1
      .github/workflows/ci.yml
  2. 1 0
      .github/workflows/lock.yml
  3. 1 0
      .github/workflows/stale.yml

+ 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