Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Action : "Scenarios : Move in project" #345

Merged
merged 1 commit into from
Nov 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 }}