Skip to content

Commit

Permalink
Github Action : "Scenarios : Move in project"
Browse files Browse the repository at this point in the history
  • Loading branch information
Progi1984 committed Nov 17, 2023
1 parent c127518 commit 488e098
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/gh-project-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "Scenarios : Move in project"

on:
issues:
types: [ labeled ]

jobs:
move-todo:
if: github.event.label.name == 'STATE : To Be Automated'
runs-on: ubuntu-latest
steps:
- name: Move issue to "Todo" column
uses: alex-page/github-project-automation-plus@v0.8.3
with:
project: "QA Scenarios"
column: "Todo"
repo-token: ${{ secrets.GITHUB_TOKEN }}

move-inprogress:
if: github.event.label.name == 'STATE : Automation in progress'
runs-on: ubuntu-latest
steps:
- name: Move issue to "In Progress" column
uses: alex-page/github-project-automation-plus@v0.8.3
with:
project: "QA Scenarios"
column: "In Progress"
repo-token: ${{ secrets.GITHUB_TOKEN }}

move-done:
if: github.event.label.name === 'STATE : Automated'
runs-on: ubuntu-latest
steps:
- name: Move issue to "Done" column
uses: alex-page/github-project-automation-plus@v0.8.3
with:
project: "QA Scenarios"
column: "Done"
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 488e098

Please sign in to comment.