Last active
February 5, 2019 10:31
-
-
Save masutaka/df4e242dc519b651629fea23b41ece97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For issues | |
workflow "issues" { | |
on = "issues" | |
resolves = ["Add an issue to project"] | |
} | |
action "Add an issue to project" { | |
uses = "docker://masutaka/github-actions-all-in-one-project" | |
secrets = ["GITHUB_TOKEN"] | |
args = ["issue"] | |
env = { | |
PROJECT_URL = "https://github.com/masutaka/sandbox-github-actions/projects/2" # required | |
INITIAL_COLUMN_NAME = "To do" # required. It is added to this column. | |
} | |
} | |
# For pull requests | |
workflow "pull_requests" { | |
on = "pull_request" | |
resolves = ["Add a pull_request to project"] | |
} | |
action "Add a pull_request to project" { | |
uses = "docker://masutaka/github-actions-all-in-one-project" | |
secrets = ["GITHUB_TOKEN"] | |
args = ["pull_request"] | |
env = { | |
PROJECT_URL = "https://github.com/masutaka/sandbox-github-actions/projects/2" # required | |
INITIAL_COLUMN_NAME = "In progress" # required. It is added to this column. | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Referred from https://masutaka.net/chalow/2019-02-03-1.html