Merge pull request #193 from ianlewis/renovate/npm-renovate-vulnerabi… #647
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright 2024 Ian Lewis | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| name: "TODO Issue Reopener" | |
| on: | |
| workflow_dispatch: | |
| # push[main] will catch changes to TODOs in code. | |
| push: | |
| branches: [main] | |
| # issues[closed] will catch issues closed manually that contain TODOs. | |
| issues: | |
| types: [closed] | |
| # schedule will periodically reconcile and catch any missed TODOs. | |
| schedule: | |
| - cron: "0 0 1 * *" | |
| permissions: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| # NOTE: Allow runs to execute sequentially. This prevents a push event from | |
| # canceling an issues event run when a merge to main closes an issue. | |
| cancel-in-progress: false | |
| jobs: | |
| issue-reopener: | |
| name: Reopen TODO issues | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read # Needed for private repositories. | |
| issues: write # Needed to comment on and reopen issues. | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Issue Reopener | |
| uses: ianlewis/todo-issue-reopener@05ca1b2493e450e1cc464bb25e0fa735ae8e4a00 # v1.7.0 |