Skip to content

Commit

Permalink
chore: outdated version notify when commenting /version (#6051)
Browse files Browse the repository at this point in the history
* chore: outdated version check

* chore: rename

* chore: rename

* chore: v1.x

* chore: v1

* chore: 1.x

* chore: v1

* chore: outdated

* chore: yarn install

* chore: on trigger

* chore: pull_request

* chore: checkout

* chore: trigger issue

* Delete rebase.yml

* Update outdated.yml

* Create rebase.yml

* Update outdated.yml

* chore: name

* chore: test

* chore: reset using comment

Co-authored-by: xrkffgg <xrkffgg@gmail.com>
  • Loading branch information
ycjcl868 and xrkffgg committed Jan 21, 2021
1 parent d625e33 commit 706702a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/outdated.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Outdated Version Action

on:
issue_comment:
types: [created]

jobs:
outdated-version:
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/version')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install
run: yarn --ignore-engines
- name: outdated version
uses: ycjcl868/outdated-version-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 706702a

Please sign in to comment.