You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-16Lines changed: 29 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,51 +9,63 @@ If the `pull_request` or `issue` has a card it will be moved to the column provi
9
9
10
10
## Usage
11
11
12
-
1. Create a new workflow by adding `.github/workflows/backlog-automation.yml` to your project.
12
+
1. Create a new workflow `.yml` file to `.github/workflows/`
13
13
2. Create a [project](https://help.github.com/en/articles/about-project-boards) with Columns set up in your repository or organisation.
14
-
3. In the `backlog-automation.yml` you have to decide what events and actions are going move an issue or pull request to a column.
14
+
3. In the `.yml`file you have to decide what webhook events going move or create a card in a column.
15
15
16
16
17
-
_For example:_
17
+
### `.github/workflows/opened-issues-triage.yml`
18
18
19
-
To move opened issues into the Triage column and assigned pull requests into the To Do column of the Backlog project. You would add the following to the `backlog-automation.yml` file:
19
+
Move opened issues into the Triage column of the Backlog project
These are the options recommended to be changed. For more detailed explanation of the workflow file, check out the [GitHub documentation](https://help.github.com/en/articles/configuring-a-workflow#creating-a-workflow-file).
51
64
52
65
| Setting | Description | Values |
53
66
| --- | --- | --- |
54
-
| `on` | When the automation is ran | `[issues, pull_request]` |
55
-
| `github.event.name` | The event type | `issues` or `pull_request` |
56
-
| `github.event.action` | The [webhook event](https://help.github.com/en/articles/events-that-trigger-workflows#webhook-events) that triggers the automation | `opened`, `assigned`, [...more](https://help.github.com/en/articles/events-that-trigger-workflows#webhook-events) |
67
+
| `on` | When the automation is ran | `issues` `pull_request` |
68
+
| `types` | The types of activity that will trigger a workflow run. | `created`, `assigned` |
57
69
| `project` | The name of the project | `Backlog` |
58
70
| `column` | The column to create or move the card to | `Triage` |
59
71
| `repo-token` | The personal access token | `${{ secrets.GITHUB_TOKEN }}` |
@@ -82,6 +94,7 @@ GraphqlError: Resource protected by organization SAML enforcement. You must gran
82
94
83
95
## Release History
84
96
97
+
- v0.1.1 - Document type filter so action runs once
0 commit comments