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
# - "When an item is closed": "issue, pull request"
16
-
# - "Set value": "Status: <the value of the `ORGANIZATION_PROJECT__STATUS_VALUE_FOR_CLOSED_ITEMS` repository variable>"
17
-
# and that the following project workflows are turned off:
23
+
# - "Set value": "Status: <the value of
24
+
# the `ORGANIZATION_PROJECT__STATUS_VALUE_FOR_CLOSED_ITEMS` repository variable>"
25
+
# ...and that the following project workflows are turned off:
18
26
# - "Item added to project"
19
27
# - "Item reopened"
20
-
# (The "Pull request merged" project workflow (https://github.com/orgs/MAKENTNU/projects/1/workflows/3569451)
21
-
# does not affect and is not affected by any of this.
22
-
# However, it could be natural that it sets the same value as the "Item closed" project workflow.)
28
+
# (The "Pull request merged" project workflow
29
+
# (https://github.com/orgs/MAKENTNU/projects/1/workflows/3569451) does not affect and is
30
+
# not affected by any of this. However, it could be natural that it sets the same value
31
+
# as the "Item closed" project workflow.)
23
32
24
33
name: Add content to project
25
34
26
35
on:
27
36
workflow_call:
28
37
inputs:
29
38
content_id:
30
-
description: "The ID of an issue or a PR, to be added to this repo's GitHub project"
39
+
description: >
40
+
The ID of an issue or a PR, to be added to this repo's GitHub project
31
41
required: true
32
42
type: string
33
43
status_field_value_name:
34
-
description: "The name of one of the values of the project's (single select) 'Status' field, to set for the added project item"
44
+
description: >
45
+
The name of one of the values of the project's (single select) 'Status' field,
46
+
to set for the added project item
35
47
required: true
36
48
type: string
37
49
38
50
jobs:
39
51
add_content:
40
52
runs-on: ubuntu-latest
41
-
# Code based on https://docs.github.com/en/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions#example-workflow-authenticating-with-a-github-app
0 commit comments