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

Update a few workflow triggers and 2.x references #3776

Merged
merged 5 commits into from
Jun 13, 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
6 changes: 3 additions & 3 deletions .dependency/prepare_source_zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ SCRIPT_NAME=$(basename "$0")
SCRIPT_PWD=$(cd "$(dirname "$0")" && pwd)
ROOT_PWD=$(cd "$SCRIPT_PWD" && cd .. && pwd)
cd "$ROOT_PWD"
WORK_BRANCH=v2.x/master
WORK_BRANCH=v3.x/master
ZOWE_MANIFEST="https://raw.githubusercontent.com/zowe/zowe-install-packaging/${WORK_BRANCH}/manifest.json.template"
WORK_DIR=.release
ZIP_DIR="${WORK_DIR}/source_zip"
Expand Down Expand Up @@ -51,7 +51,7 @@ echo

################################################################################
echo "[${SCRIPT_NAME}] download manifest.json"
/bin/sh -c "curl -s ${GITHUB_AUTH_HEADER} \"${ZOWE_MANIFEST}\"" > "${WORK_DIR}/manifest.json.template"
/bin/sh -c "curl -s ${GITHUB_AUTH_HEADER} \"${ZOWE_MANIFEST}\"" >"${WORK_DIR}/manifest.json.template"
if [ -f "${WORK_DIR}/manifest.json.template" ]; then
echo "[${SCRIPT_NAME}] - ${WORK_DIR}/manifest.json.template downloaded"
else
Expand All @@ -67,7 +67,7 @@ echo

################################################################################
echo "[${SCRIPT_NAME}] write README.md"
cat > "${ZIP_DIR}/README.md" << EOF
cat >"${ZIP_DIR}/README.md" <<EOF
# Source files for the Zowe project - version ${ZOWE_VERSION}
Included in this zip file are the source files used to build the Zowe ${ZOWE_VERSION} Release.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
on:
push:
branches:
- v2.x/staging
- v3.x/staging
pull_request:
types: [opened, synchronize]

Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/link-check-weekly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
permissions: read-all

name: Check Markdown Links - Weekly

on:
push:
branches:
- 'v3.x/master'
- 'v3.x/staging'
- 'v2.x/master'
- 'v2.x/staging'
- 'v1.x/master'
- 'v1.x/staging'
schedule:
# Every day @ 4 AM
- cron: "0 4 * * *"

jobs:
markdown-link-check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

- uses: gaurav-nelson/github-action-markdown-link-check@d53a906aa6b22b8979d33bc86170567e619495ec # v1.0.15
4 changes: 2 additions & 2 deletions .github/workflows/snyk-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Kubernetes Containers Scan
on:
push:
branches:
- v2.x/master
- v2.x/staging
- v3.x/master
- v3.x/staging
# pull_request:
# types: [opened, synchronize]
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snyk-kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Kubernetes IaC Scan
on:
push:
branches:
- v2.x/master
- v2.x/staging
- v3.x/master
- v3.x/staging
# pull_request:
# types: [opened, synchronize]
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zwe-doc-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
# Will run this on push when v2 is out
push:
branches:
- v2.x/rc
- v3.x/rc
workflow_dispatch:

env:
Expand Down
2 changes: 1 addition & 1 deletion schemas/manifest-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},
"autoEncoding": {
"type": "array",
"description": "An array of paths to recursively search and automatically tag according to file extension, via execution of the tag-files script 'https://github.com/zowe/zowe-install-packaging/blob/v2.x/master/bin/utils/tag-files.sh'"
"description": "An array of paths to recursively search and automatically tag according to file extension, via execution of the tag-files script 'https://github.com/zowe/zowe-install-packaging/blob/v3.x/master/bin/utils/tag-files.sh'"
},
"homepage": {
"type": "string",
Expand Down
Loading