Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Su <derek.su@suse.com>
  • Loading branch information
derekbit committed Sep 10, 2024
1 parent fe1fe4c commit 3e99de8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/add-to-projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
if: steps.is-longhorn-member.outcome == 'success' && fromJSON(steps.is-longhorn-member.outputs.teams)[0] == null
uses: actions/add-to-project@v0.3.0
with:
project-url: https://github.com/orgs/longhorn/projects/5
project-url: https://github.com/users/derekbit/projects/4
github-token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
id: add-project
- name: Update Item Fields for issues
if: github.event_name == 'issues' && steps.is-longhorn-member.outcome == 'success' && (github.event.action == 'opened' || github.event.action == 'labeled') && fromJSON(steps.is-longhorn-member.outputs.teams)[0] == null
uses: titoportas/update-project-fields@v0.1.0
with:
project-url: https://github.com/orgs/longhorn/projects/5
project-url: https://github.com/users/derekbit/projects/4
github-token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
item-id: ${{ steps.add-project.outputs.itemId }}
field-keys: Status,Sprint
Expand All @@ -37,7 +37,7 @@ jobs:
if: github.event_name == 'issue_comment' && steps.is-longhorn-member.outcome == 'success'&& (github.event.action == 'created' || github.event.action == 'edited') && fromJSON(steps.is-longhorn-member.outputs.teams)[0] == null
uses: titoportas/update-project-fields@v0.1.0
with:
project-url: https://github.com/orgs/longhorn/projects/5
project-url: https://github.com/users/derekbit/projects/4
github-token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
item-id: ${{ steps.add-project.outputs.itemId }}
field-keys: Status,Sprint
Expand All @@ -57,7 +57,7 @@ jobs:
if: steps.is-longhorn-member.outcome == 'success' && fromJSON(steps.is-longhorn-member.outputs.teams)[0] != null
uses: actions/add-to-project@v0.3.0
with:
project-url: https://github.com/orgs/longhorn/projects/4
project-url: https://github.com/users/derekbit/projects/4
github-token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
labeled: kind/test, area/infra
label-operator: OR

0 comments on commit 3e99de8

Please sign in to comment.