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 d325394
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/gh-project-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "Scenarios : Move in project"

on:
issues:
types: [ labeled ]

jobs:
move-todo:
runs-on: ubuntu-latest
if: |
contains(github.event.issue.labels.*.name, 'STATE : To Be Automated')
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: |
contains(github.event.issue.labels.*.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: |
contains(github.event.issue.labels.*.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 d325394

Please sign in to comment.