From 99f5c6bbdd5721116fe63c4c6e08a90f13db949d Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Thu, 3 Oct 2024 17:47:50 +0200 Subject: [PATCH] Format workflows (#1109) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 🎟ī¸ Tracking ## 📔 Objective ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Protected functional changes with optionality (feature flags) - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team ## đŸĻŽ Reviewer guidelines - 👍 (`:+1:`) or similar for great changes - 📝 (`:memo:`) or ℹī¸ (`:information_source:`) for notes or general info - ❓ (`:question:`) for questions - 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - 🎨 (`:art:`) for suggestions / improvements - ❌ (`:x:`) or ⚠ī¸ (`:warning:`) for more significant problems or concerns needing attention - 🌱 (`:seedling:`) or â™ģī¸ (`:recycle:`) for future improvements or indications of technical debt - ⛏ (`:pick:`) for minor or nitpick changes --- .github/workflows/publish-bws.yml | 3 +-- .github/workflows/publish-dotnet.yml | 16 ++++++++-------- .github/workflows/publish-rust-crates.yml | 2 +- .github/workflows/release-dotnet.yml | 1 - 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish-bws.yml b/.github/workflows/publish-bws.yml index 506427faa..dc939a5d6 100644 --- a/.github/workflows/publish-bws.yml +++ b/.github/workflows/publish-bws.yml @@ -14,7 +14,7 @@ on: - Release - Dry Run version: - description: 'Version to publish (default: latest bws cli release)' + description: "Version to publish (default: latest bws cli release)" required: true type: string default: latest @@ -71,7 +71,6 @@ jobs: description: "Deployment ${{ steps.version-output.outputs.version }} from branch ${{ github.ref_name }}" task: release - publish: name: Publish bws to crates.io runs-on: ubuntu-22.04 diff --git a/.github/workflows/publish-dotnet.yml b/.github/workflows/publish-dotnet.yml index baafcc522..1e2fc06f4 100644 --- a/.github/workflows/publish-dotnet.yml +++ b/.github/workflows/publish-dotnet.yml @@ -66,10 +66,10 @@ jobs: uses: chrnorm/deployment-action@55729fcebec3d284f60f5bcabbd8376437d696b1 # v2.0.7 id: deployment with: - token: '${{ secrets.GITHUB_TOKEN }}' - initial-status: 'in_progress' - environment: 'dotnet - Production' - description: 'Deployment ${{ needs.validate.outputs.version }} from branch ${{ github.ref_name }}' + token: "${{ secrets.GITHUB_TOKEN }}" + initial-status: "in_progress" + environment: "dotnet - Production" + description: "Deployment ${{ needs.validate.outputs.version }} from branch ${{ github.ref_name }}" task: release - name: Download artifact @@ -100,14 +100,14 @@ jobs: if: ${{ inputs.release_type != 'Dry Run' && success() }} uses: chrnorm/deployment-status@9a72af4586197112e0491ea843682b5dc280d806 # v2.0.3 with: - token: '${{ secrets.GITHUB_TOKEN }}' - state: 'success' + token: "${{ secrets.GITHUB_TOKEN }}" + state: "success" deployment-id: ${{ steps.deployment.outputs.deployment_id }} - name: Update deployment status to Failure if: ${{ inputs.release_type != 'Dry Run' && failure() }} uses: chrnorm/deployment-status@9a72af4586197112e0491ea843682b5dc280d806 # v2.0.3 with: - token: '${{ secrets.GITHUB_TOKEN }}' - state: 'failure' + token: "${{ secrets.GITHUB_TOKEN }}" + state: "failure" deployment-id: ${{ steps.deployment.outputs.deployment_id }} diff --git a/.github/workflows/publish-rust-crates.yml b/.github/workflows/publish-rust-crates.yml index 43f19323a..bb79aad24 100644 --- a/.github/workflows/publish-rust-crates.yml +++ b/.github/workflows/publish-rust-crates.yml @@ -15,7 +15,7 @@ on: - Redeploy - Dry Run version: - description: 'Version to publish (default: latest rust crates release)' + description: "Version to publish (default: latest rust crates release)" required: true type: string default: latest diff --git a/.github/workflows/release-dotnet.yml b/.github/workflows/release-dotnet.yml index 2e08e8a76..dc8539271 100644 --- a/.github/workflows/release-dotnet.yml +++ b/.github/workflows/release-dotnet.yml @@ -13,7 +13,6 @@ on: - Release - Dry Run - jobs: setup: name: Setup