Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anax test branch test3fork #2

Merged
merged 6 commits into from
Oct 30, 2023
Merged
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
18 changes: 12 additions & 6 deletions .github/workflows/pull-request-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
initial-comment:
name: PR Instructions
runs-on: ubuntu-latest
# if: github.event.action == 'opened'
if: github.event.action == 'opened' && github.actor != 'zowe-robot'

steps:
- name: Add initial comment w/ instructions
Expand All @@ -27,11 +27,12 @@ jobs:

- [ ] Add the label `needs review by sme` if an SME needs to check your content.
- [ ] Identify your content topic with a label. (Examples: `area: apiml`, `area: cli`, `area: install and config`, etc.)
- [ ] Specify the Zowe release for your content. Use either label `current release` or `next release`.
- [ ] Specify the major Zowe release for your content. (Examples: `V1`, `V2`, `V3`.)
- [ ] Link any [Doc Issues](https://github.com/zowe/docs-site/issues) related to this PR.
- [ ] Fix broken links found in your content areas.
- [ ] Notify the SME to review this PR (if applicable).
- [ ] Merge to the `master` branch if your content documents the current release or a previous release. Merge to `docs-staging` if your content is for the next release.
- [ ] Merge to the `master` branch if your PR updates content that is on the live site. Merge to `docs-staging` if your PR updates content for a future release.


- name: Add initial comment w/ instructions
if: steps.initial_comment_writer.outcome == 'skipped'
Expand All @@ -43,8 +44,8 @@ jobs:

- [ ] Add the label `needs review by doc`.
- [ ] Identify your content topic with a label. (Examples: `area: apiml`, `area: cli`, `area: install and config`, etc.)
- [ ] Specify the Zowe release for your content. Use either label `current release` or `next release`.
- [ ] Select the `master` branch if your content documents the current release or a previous release. Select `docs-staging` if your content is for the next release.
- [ ] Specify the major Zowe release for your content. (Examples: `V1`, `V2`, `V3`.)
- [ ] Select the `master` branch if your PR updates content that is on the live site. Select `docs-staging` if your PR updates content for a future release.
- [ ] Notify the Doc Squad about this PR. If you don't know who should review your content, message the [#zowe-doc](https://openmainframeproject.slack.com/archives/CC961JYMQ) Slack channel. If you know which Doc Squad writer should approve your content, add that person as a reviewer.

**Need help?** Contact the Doc Squad in the [#zowe-doc](https://openmainframeproject.slack.com/archives/CC961JYMQ) Slack channel.
Expand Down Expand Up @@ -76,8 +77,9 @@ jobs:

review-labels:
name: Check for missing review label
if: ${{ !contains(fromJson('["anaxceron", "jandacek", "nannanli", "samanthasusu", "nellietan", "lparadkar-rocket"]'), github.event.pull_request.user.login) }}
runs-on: ubuntu-latest
needs: [initial-comment]
if: ${{ always() && (needs.initial-comment.result == 'success' || needs.initial-comment.result == 'skipped') && github.actor != 'zowe-robot' && !contains(fromJson('["anaxceron", "jandacek", "nannanli", "samanthasusu", "nellietan", "lparadkar-rocket"]'), github.event.pull_request.user.login) }}

steps:
- name: Review Label Check
Expand All @@ -99,6 +101,8 @@ jobs:
release-labels:
name: Check for missing release label
runs-on: ubuntu-latest
needs: [initial-comment]
if: ${{ always() && (needs.initial-comment.result == 'success' || needs.initial-comment.result == 'skipped') && github.actor != 'zowe-robot' }}

steps:
- id: prefix_label_check
Expand All @@ -118,6 +122,8 @@ jobs:
area-labels:
name: Check for missing area label
runs-on: ubuntu-latest
needs: [initial-comment]
if: ${{ always() && (needs.initial-comment.result == 'success' || needs.initial-comment.result == 'skipped') && github.actor != 'zowe-robot' }}

steps:
- id: prefix_label_check
Expand Down
Loading