Skip to content

Commit

Permalink
Update GitHub legacy actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sbertix committed Aug 31, 2021
1 parent 25cb7d8 commit ae49cb3
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 23 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/close-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: close-issues
on:
issues:
types: [opened, reopened]

jobs:
state:
runs-on: ubuntu-latest
steps:
- name: Close issue
uses: peter-evans/close-issue@v1
with:
comment: >
Hey @{{ author }},<br /><br />
This repo is not currenlty maintained, and it's to be considered as _read-only_: **issues**, such as this one, **will not be fixed**.<br />
Please refer to #244 for more info.<br /><br />
Check out [**Swiftagram**](https://github.com/sbertix/Swiftagram) if you're looking for up-to-date alternatives to **SwiftyInsta**.<br /><br />
- name: initial labeling
uses: andymckay/labeler@master
with:
add-labels: "legacy"
21 changes: 21 additions & 0 deletions .github/workflows/close-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: close-prs
on:
pull_request_target:
types: [opened, reopened]

jobs:
state:
runs-on: ubuntu-latest
steps:
- name: Close pull
uses: peter-evans/close-pull@v1
with:
comment: >
Hey @{{ author }},<br /><br />
This repo is not currenlty maintained, and it's to be considered as _read-only_: **pull requests**, such as this one, **will not be considered**.<br />
Please refer to #244 for more info.<br /><br />
Check out [**Swiftagram**](https://github.com/sbertix/Swiftagram) if you're looking for up-to-date alternatives to **SwiftyInsta**.<br /><br />
- name: initial labeling
uses: andymckay/labeler@master
with:
add-labels: "legacy"
23 changes: 0 additions & 23 deletions .github/workflows/state.yml

This file was deleted.

0 comments on commit ae49cb3

Please sign in to comment.