Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Add workflow to update issue and PR status on GH project board #64

Merged
merged 3 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/update-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Update GitHub Project

on:
issues:
types: [labeled]
pull_request_target:
types: [opened, reopened, converted_to_draft, ready_for_review]

env:
PROJECT_NUMBER: 21
ISSUE_STATUSES: '{"priority-high": "High Priority", "priority-medium": "Medium Priority", "priority-low": "Low Priority", "Epic": "Epics"}'
PR_STATUS_DRAFT: 'In Progress'
PR_STATUS_READY: 'Review/QA'

jobs:
update-project:
name: Move project item
runs-on: ubuntu-latest
steps:
- uses: zowe-actions/shared-actions/project-move-item@main
if: ${{ github.event.issue && fromJSON(env.ISSUE_STATUSES)[github.event.label.name] }}
with:
item-status: ${{ fromJSON(env.ISSUE_STATUSES)[github.event.label.name] }}
project-number: ${{ env.PROJECT_NUMBER }}
project-token: ${{ secrets.ZOWE_ROBOT_TOKEN }}

- uses: zowe-actions/shared-actions/project-move-item@main
if: ${{ github.event.pull_request }}
with:
assign-author: true
item-status: ${{ github.event.action == 'ready_for_review' && env.PR_STATUS_READY || env.PR_STATUS_DRAFT }}
project-number: ${{ env.PROJECT_NUMBER }}
project-token: ${{ secrets.ZOWE_ROBOT_TOKEN }}
Empty file modified __tests__/__integration__/cli/__scripts__/create_ims_profile.sh
100644 → 100755
Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@ exports[`ims query program should display the query program help 1`] = `

--cert-file (local file path)

The file path to a certificate file to use for authentication
The file path to a certificate file to use for authentication.

Note: The CLI does not support certificate files that require a password. For
more information, search Troubleshooting PEM Certificates in Zowe Docs.

--cert-key-file (local file path)

Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ exports[`ims query region should display the query region help 1`] = `

--cert-file (local file path)

The file path to a certificate file to use for authentication
The file path to a certificate file to use for authentication.

Note: The CLI does not support certificate files that require a password. For
more information, search Troubleshooting PEM Certificates in Zowe Docs.

--cert-key-file (local file path)

Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,10 @@ exports[`ims query transaction should display the help 1`] = `

--cert-file (local file path)

The file path to a certificate file to use for authentication
The file path to a certificate file to use for authentication.

Note: The CLI does not support certificate files that require a password. For
more information, search Troubleshooting PEM Certificates in Zowe Docs.

--cert-key-file (local file path)

Expand Down
Empty file.

Large diffs are not rendered by default.

Empty file.

Large diffs are not rendered by default.

Empty file.

Large diffs are not rendered by default.

Empty file.

Large diffs are not rendered by default.

Empty file.
Empty file.

Large diffs are not rendered by default.

Empty file.

Large diffs are not rendered by default.

Empty file.

Large diffs are not rendered by default.

Empty file.

Large diffs are not rendered by default.

Loading