From 62e940fbc7e4a67b096a68fd15bedd3673e3eb3b Mon Sep 17 00:00:00 2001 From: Dan Oswalt Date: Tue, 9 May 2023 16:17:35 -0400 Subject: [PATCH 1/2] add workflow-dispatch --- .github/workflows/clientlibs-js-publish.yml | 1 + .github/workflows/types-publish.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/clientlibs-js-publish.yml b/.github/workflows/clientlibs-js-publish.yml index 5883a7aac7..38dffdbb04 100644 --- a/.github/workflows/clientlibs-js-publish.yml +++ b/.github/workflows/clientlibs-js-publish.yml @@ -5,6 +5,7 @@ on: - main paths: - clientlibs/js/** + workflow_dispatch: jobs: clientlibs-js-publish: name: UpGrade Client Libs JS Publish diff --git a/.github/workflows/types-publish.yml b/.github/workflows/types-publish.yml index 62a25b72ff..d6d8ea65c2 100644 --- a/.github/workflows/types-publish.yml +++ b/.github/workflows/types-publish.yml @@ -5,6 +5,7 @@ on: - main paths: - types/** + workflow_dispatch: jobs: types-publish: name: UpGrade Types Publish From 1cb28df645b3a8f006dd1cac8945572b0337e836 Mon Sep 17 00:00:00 2001 From: Dan Oswalt Date: Tue, 9 May 2023 16:32:10 -0400 Subject: [PATCH 2/2] use actions/checkout@3 and use with ref main --- .github/workflows/auto-merge-dependabot.yml | 2 +- .github/workflows/backend-build.yml | 4 ++-- .github/workflows/backend-deploy-dev.yml | 2 +- .github/workflows/backend-deploy.yml | 2 +- .github/workflows/bump-dev-version.yml | 2 +- .github/workflows/clientlibs-java-build.yml | 2 +- .github/workflows/clientlibs-js-build.yml | 2 +- .github/workflows/clientlibs-js-publish.yml | 4 +++- .github/workflows/create-release.yml | 8 ++++---- .github/workflows/frontend-build.yml | 2 +- .github/workflows/frontend-deploy-dev.yml | 2 +- .github/workflows/frontend-deploy.yml | 2 +- .github/workflows/lambda-deploy-dev.yml | 2 +- .github/workflows/lambda-deploy.yml | 2 +- .github/workflows/lamdba-build.yml | 2 +- .github/workflows/merge-dev-to-main.yml | 2 +- .github/workflows/types-build.yml | 2 +- .github/workflows/types-publish.yml | 4 +++- 18 files changed, 26 insertions(+), 22 deletions(-) diff --git a/.github/workflows/auto-merge-dependabot.yml b/.github/workflows/auto-merge-dependabot.yml index 6a549acb51..268c2115a7 100644 --- a/.github/workflows/auto-merge-dependabot.yml +++ b/.github/workflows/auto-merge-dependabot.yml @@ -6,7 +6,7 @@ jobs: name: Auto Merge Dependabot PRs runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: ahmadnassri/action-dependabot-auto-merge@v2 with: github-token: ${{ secrets.REPO_PAT }} diff --git a/.github/workflows/backend-build.yml b/.github/workflows/backend-build.yml index 2e1fa133be..45726d4cd2 100644 --- a/.github/workflows/backend-build.yml +++ b/.github/workflows/backend-build.yml @@ -8,7 +8,7 @@ jobs: node-version: ${{ steps.get-node-version.outputs.node-version }} steps: - name: Git Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Load Environment Variables uses: tw3lveparsecs/github-actions-setvars@v0.1 - name: Get Node Version @@ -34,7 +34,7 @@ jobs: --health-retries 5 steps: - name: Git Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Dependencies run: | cd .. diff --git a/.github/workflows/backend-deploy-dev.yml b/.github/workflows/backend-deploy-dev.yml index 14e0614461..978ae5caa9 100644 --- a/.github/workflows/backend-deploy-dev.yml +++ b/.github/workflows/backend-deploy-dev.yml @@ -17,7 +17,7 @@ jobs: version: ${{ steps.get-dev-version.outputs.version }} steps: - name: Git Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Get Dev Version id: get-dev-version uses: ./.github/actions/get-dev-version diff --git a/.github/workflows/backend-deploy.yml b/.github/workflows/backend-deploy.yml index 5e334c06bc..ee7ecdb222 100644 --- a/.github/workflows/backend-deploy.yml +++ b/.github/workflows/backend-deploy.yml @@ -65,7 +65,7 @@ jobs: # Otherwise, build the artifact - name: Git Checkout if: steps.check-tag.outputs.exists == 'false' - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Load Environment Variables if: steps.check-tag.outputs.exists == 'false' uses: tw3lveparsecs/github-actions-setvars@v0.1 diff --git a/.github/workflows/bump-dev-version.yml b/.github/workflows/bump-dev-version.yml index 82528e82a6..d3dbb333ee 100644 --- a/.github/workflows/bump-dev-version.yml +++ b/.github/workflows/bump-dev-version.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out source - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Node.js uses: actions/setup-node@v2 diff --git a/.github/workflows/clientlibs-java-build.yml b/.github/workflows/clientlibs-java-build.yml index e0db570ea5..3f9cfd641b 100644 --- a/.github/workflows/clientlibs-java-build.yml +++ b/.github/workflows/clientlibs-java-build.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Git Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Maven Build working-directory: clientlibs/java run: mvn install diff --git a/.github/workflows/clientlibs-js-build.yml b/.github/workflows/clientlibs-js-build.yml index 61d216c16e..f96c466569 100644 --- a/.github/workflows/clientlibs-js-build.yml +++ b/.github/workflows/clientlibs-js-build.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Git Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Build Client Libs JS uses: ./.github/actions/generic-npm-build with: diff --git a/.github/workflows/clientlibs-js-publish.yml b/.github/workflows/clientlibs-js-publish.yml index 38dffdbb04..57a0e29b0d 100644 --- a/.github/workflows/clientlibs-js-publish.yml +++ b/.github/workflows/clientlibs-js-publish.yml @@ -12,7 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Git Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 + with: + ref: 'main' - name: Build Types Package uses: ./.github/actions/generic-npm-build with: diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index b24d853ffc..61307db15f 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -45,7 +45,7 @@ jobs: version: ${{ steps.get-version.outputs.result }} steps: - name: Git Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - uses: actions/setup-node@v2 with: node-version: 16 @@ -85,7 +85,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Git Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - uses: actions/setup-node@v2 with: node-version: 16 @@ -110,7 +110,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Git Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - uses: actions/setup-node@v2 with: node-version: 16 @@ -135,7 +135,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Git Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - uses: actions/setup-node@v2 with: node-version: 16 diff --git a/.github/workflows/frontend-build.yml b/.github/workflows/frontend-build.yml index 5a948f040b..0e23e43e20 100644 --- a/.github/workflows/frontend-build.yml +++ b/.github/workflows/frontend-build.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Git Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Frontend Build uses: ./.github/actions/generic-npm-build with: diff --git a/.github/workflows/frontend-deploy-dev.yml b/.github/workflows/frontend-deploy-dev.yml index 79e9450fdb..8e086cd08a 100644 --- a/.github/workflows/frontend-deploy-dev.yml +++ b/.github/workflows/frontend-deploy-dev.yml @@ -16,7 +16,7 @@ jobs: version: ${{ steps.get-dev-version.outputs.version }} steps: - name: Git Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Get Dev Version id: get-dev-version uses: ./.github/actions/get-dev-version diff --git a/.github/workflows/frontend-deploy.yml b/.github/workflows/frontend-deploy.yml index f36049dfb9..177a12e2d8 100644 --- a/.github/workflows/frontend-deploy.yml +++ b/.github/workflows/frontend-deploy.yml @@ -60,7 +60,7 @@ jobs: # Otherwise, build it - name: Git Checkout if: steps.check-tag.outputs.exists == 'false' - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Frontend Build if: steps.check-tag.outputs.exists == 'false' uses: ./.github/actions/generic-npm-build diff --git a/.github/workflows/lambda-deploy-dev.yml b/.github/workflows/lambda-deploy-dev.yml index c440a4dcd6..3a1347fe60 100644 --- a/.github/workflows/lambda-deploy-dev.yml +++ b/.github/workflows/lambda-deploy-dev.yml @@ -16,7 +16,7 @@ jobs: version: ${{ steps.get-dev-version.outputs.version }} steps: - name: Git Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Get Dev Version id: get-dev-version uses: ./.github/actions/get-dev-version diff --git a/.github/workflows/lambda-deploy.yml b/.github/workflows/lambda-deploy.yml index 0e2a88d871..96a55e414a 100644 --- a/.github/workflows/lambda-deploy.yml +++ b/.github/workflows/lambda-deploy.yml @@ -57,7 +57,7 @@ jobs: # Otherwise, build the artifact - name: Git Checkout if: steps.check-tag.outputs.exists == 'false' - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Build Lambda if: steps.check-tag.outputs.exists == 'false' uses: ./.github/actions/generic-npm-build diff --git a/.github/workflows/lamdba-build.yml b/.github/workflows/lamdba-build.yml index b8974a9a70..37cf71a70a 100644 --- a/.github/workflows/lamdba-build.yml +++ b/.github/workflows/lamdba-build.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Git Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Build Lambda uses: ./.github/actions/generic-npm-build with: diff --git a/.github/workflows/merge-dev-to-main.yml b/.github/workflows/merge-dev-to-main.yml index 179d73560e..bca9cfbf3e 100644 --- a/.github/workflows/merge-dev-to-main.yml +++ b/.github/workflows/merge-dev-to-main.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Git Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Merge dev into main diff --git a/.github/workflows/types-build.yml b/.github/workflows/types-build.yml index b79029f46e..80898e0cdc 100644 --- a/.github/workflows/types-build.yml +++ b/.github/workflows/types-build.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Git Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Build Types uses: ./.github/actions/generic-npm-build with: diff --git a/.github/workflows/types-publish.yml b/.github/workflows/types-publish.yml index d6d8ea65c2..6e50a226b5 100644 --- a/.github/workflows/types-publish.yml +++ b/.github/workflows/types-publish.yml @@ -12,7 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Git Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 + with: + ref: 'main' - name: Build Types Package uses: ./.github/actions/generic-npm-build with: