-
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 1.15 KB
/
deprecated-dependencies.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
lfs: true
- continue-on-error: true
id: check-deprecated-js-deps
uses: tinovyatkin/action-check-deprecated-js-deps@v1
- env:
DEPRECATED: ${{ steps.check-deprecated-js-deps.outputs.deprecated }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUN_URL: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
id: create-deprecation-issue
if: ${{ steps.check-deprecated-js-deps.outputs.deprecated }}
uses: JasonEtco/create-an-issue@v2
with:
filename: .github/DEPRECATED_DEPENDENCIES_ISSUE_TEMPLATE.md
update_existing: true
- if: ${{ !steps.check-deprecated-js-deps.outputs.deprecated &&
steps.create-deprecation-issue.outputs.number }}
uses: peter-evans/close-issue@v2
with:
comment: Auto-closing the issue
issue-number: ${{ steps.create-deprecation-issue.outputs.number }}
- uses: gautamkrishnar/keepalive-workflow@v1
name: deprecated-dependencies
on:
schedule:
- cron: 0 5 * * MON