From c70432574e1f0b3e96b442d6fc8761dfabec302d Mon Sep 17 00:00:00 2001 From: rug Date: Fri, 6 Feb 2026 15:26:14 +0100 Subject: [PATCH 1/4] Making release to be the latest --- .github/workflows/template-release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/template-release.yaml b/.github/workflows/template-release.yaml index e43b6063..da50d286 100644 --- a/.github/workflows/template-release.yaml +++ b/.github/workflows/template-release.yaml @@ -141,6 +141,7 @@ jobs: tag_name: v${{ inputs.new-version }} prerelease: false token: ${{ steps.get-github-token.outputs.az-keyvault-value }} + make_latest: true delete-rc-branch: name: πŸ—‘οΈ Delete rc branch From be4348568e24629776043adc178eb99b20c5309d Mon Sep 17 00:00:00 2001 From: rug Date: Fri, 6 Feb 2026 15:26:45 +0100 Subject: [PATCH 2/4] Standardizing usage of icons --- .github/workflows/build.yaml | 2 +- .github/workflows/pre-release.yaml | 2 +- .github/workflows/release.yaml | 2 +- .../template-label-and-validate-pr.yaml | 4 +- .github/workflows/template-pre-release.yaml | 38 +++++++++---------- .github/workflows/template-release.yaml | 18 ++++----- .../workflows/template-ts-build-project.yaml | 4 +- .../template-validate-pr-labels.yaml | 4 +- .../workflows/template-validate-pr-title.yaml | 4 +- .github/workflows/validate-pr-labels.yaml | 2 +- .github/workflows/validate-pr-title.yaml | 2 +- 11 files changed, 41 insertions(+), 41 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3116859b..f5cea184 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,7 +14,7 @@ permissions: jobs: build: - name: πŸ—οΈ Build TypeScript Project + name: Build TypeScript Project permissions: id-token: write contents: read diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index 6d5035f1..84df2c29 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -21,7 +21,7 @@ permissions: jobs: create-release-candidate: - name: πŸ“¦ Create Release Candidate + name: Create Release Candidate permissions: id-token: write contents: write diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e8eac600..7ae82814 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,7 +21,7 @@ permissions: jobs: set-release-latest: - name: 🏷️ Set Release as Latest + name: Set Release as Latest permissions: id-token: write contents: write diff --git a/.github/workflows/template-label-and-validate-pr.yaml b/.github/workflows/template-label-and-validate-pr.yaml index 45ea476c..3355ae34 100644 --- a/.github/workflows/template-label-and-validate-pr.yaml +++ b/.github/workflows/template-label-and-validate-pr.yaml @@ -50,11 +50,11 @@ on: jobs: inner-sourcing: - name: πŸ”Ž Check if pull request is inner sourcing + name: Check if pull request is inner sourcing runs-on: ubuntu-latest if: github.actor != 'dependabot[bot]' steps: - - name: πŸ“‚ Checkout repository + - name: πŸ“₯ Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 #- name: Run pr-inner-sourcing-label action diff --git a/.github/workflows/template-pre-release.yaml b/.github/workflows/template-pre-release.yaml index 532a3edc..e06800c8 100644 --- a/.github/workflows/template-pre-release.yaml +++ b/.github/workflows/template-pre-release.yaml @@ -69,19 +69,19 @@ on: jobs: run-lint-on-dev: - name: πŸ“¦ Run lint on dev branch + name: Run lint on dev branch runs-on: ubuntu-latest permissions: contents: read if: ${{ inputs.new-version }} steps: - - name: πŸ“‚ Checkout into dev + - name: πŸ“₯ Checkout into dev uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: dev - - name: πŸ“¦ Install project dependencies + - name: πŸ•ΈοΈ Install project dependencies run: npm install - name: πŸ—οΈ Run build @@ -89,7 +89,7 @@ jobs: cleanup-existing-rc: needs: run-lint-on-dev - name: 🧹 Cleanup existing rc branch and tag + name: Cleanup existing rc branch and tag runs-on: ubuntu-latest permissions: id-token: write @@ -97,7 +97,7 @@ jobs: if: ${{ inputs.new-version }} steps: - - name: πŸ“‚ Checkout repository + - name: πŸ“₯ Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: πŸ” Azure login @@ -115,7 +115,7 @@ jobs: with: key-name: o11odc-github-gitpersonal-token-prd - - name: πŸ“‚ Checkout with token + - name: πŸ“₯ Checkout with token uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: token: ${{ steps.get-github-token.outputs.az-keyvault-value }} @@ -140,7 +140,7 @@ jobs: create-rc: needs: cleanup-existing-rc - name: πŸ“¦ Create rc branch + name: Create rc branch runs-on: ubuntu-latest permissions: id-token: write @@ -148,7 +148,7 @@ jobs: if: ${{ inputs.new-version }} steps: - - name: πŸ“‚ Checkout repository + - name: πŸ“₯ Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: πŸ” Azure login @@ -159,14 +159,14 @@ jobs: tenant-id: ${{ secrets.OSUI_AZURE_TENANT_ID }} subscription-id: ${{ secrets.OSUI_AZURE_SUBSCRIPTION_ID }} - - name: Get GitHub Token + - name: πŸ”‘ Get GitHub Token id: get-github-token #uses: OutSystems/rd.github-reusable-workflows/.github/actions/az-keyvault-get@9d497d1c5bc6e355aa8f4663539e6b75c212f6b4 #v2.0.7 uses: ./.github/actions/az-keyvault-get with: key-name: o11odc-github-gitpersonal-token-prd - - name: πŸ“‚ Checkout into dev + - name: πŸ“₯ Checkout into dev uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: dev @@ -179,7 +179,7 @@ jobs: set-tag: needs: create-rc - name: πŸ”– Set tag + name: Set tag runs-on: ubuntu-latest permissions: id-token: write @@ -187,7 +187,7 @@ jobs: if: ${{ inputs.new-version }} steps: - - name: πŸ“‚ Checkout repository + - name: πŸ“₯ Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: πŸ” Azure login @@ -205,7 +205,7 @@ jobs: with: key-name: o11odc-github-gitpersonal-token-prd - - name: πŸ“‚ Checkout into rc${{ inputs.new-version }} + - name: πŸ“₯ Checkout into rc${{ inputs.new-version }} uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: rc${{ inputs.new-version }} @@ -219,7 +219,7 @@ jobs: set-pre-release: needs: set-tag - name: πŸ“¦ Set pre-release + name: Set pre-release runs-on: ubuntu-latest permissions: id-token: write @@ -227,7 +227,7 @@ jobs: if: ${{ inputs.new-version }} steps: - - name: πŸ“‚ Checkout repository + - name: πŸ“₯ Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: πŸ” Azure login @@ -266,7 +266,7 @@ jobs: update-dev-version: needs: create-rc - name: πŸ“¦ Update dev version + name: Update dev version runs-on: ubuntu-latest permissions: id-token: write @@ -278,7 +278,7 @@ jobs: # permissions to commit directly to the dev branch. if: ${{ inputs.new-version && inputs.new-dev-release }} steps: - - name: πŸ“‚ Checkout repository + - name: πŸ“₯ Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: πŸ” Azure login @@ -296,7 +296,7 @@ jobs: with: key-name: o11odc-github-gitpersonal-token-prd - - name: πŸ“‚ Checkout into dev + - name: πŸ“₯ Checkout into dev uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: dev @@ -319,7 +319,7 @@ jobs: env: GITHUB_TOKEN: ${{ steps.get-github-token.outputs.az-keyvault-value }} - - name: πŸ“¦ Install project dependencies + - name: πŸ•ΈοΈ Install project dependencies run: npm install - name: πŸ”– Update dev version into v${{ inputs.new-dev-release }} diff --git a/.github/workflows/template-release.yaml b/.github/workflows/template-release.yaml index da50d286..a38c8dc3 100644 --- a/.github/workflows/template-release.yaml +++ b/.github/workflows/template-release.yaml @@ -53,7 +53,7 @@ on: jobs: run-lint-on-rc: - name: πŸ“¦ Run lint on rc branch + name: Run lint on rc branch runs-on: ubuntu-latest permissions: contents: read @@ -65,14 +65,14 @@ jobs: with: ref: rc${{ inputs.new-version }} - - name: Install project dependencies + - name: πŸ•ΈοΈ Install project dependencies run: npm install - - name: Run build + - name: πŸ—οΈ Run build run: npm run build merge-rc-into-main: - name: πŸ”„ Merge rc branch into main + name: Merge rc branch into main needs: run-lint-on-rc runs-on: ubuntu-latest permissions: @@ -81,7 +81,7 @@ jobs: if: ${{ inputs.new-version }} steps: - - name: πŸ“‚ Checkout repository + - name: πŸ“₯ Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: πŸ” Azure login @@ -108,7 +108,7 @@ jobs: commit_message_template: 'Merged rc${{ inputs.new-version }} into main. [skip ci]' set-pre-release-as-lts: - name: πŸ”– Set pre-release as LTS + name: Set pre-release as LTS needs: merge-rc-into-main runs-on: ubuntu-latest permissions: @@ -116,7 +116,7 @@ jobs: contents: read steps: - - name: πŸ“‚ Checkout repository + - name: πŸ“₯ Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: πŸ” Azure login @@ -144,7 +144,7 @@ jobs: make_latest: true delete-rc-branch: - name: πŸ—‘οΈ Delete rc branch + name: Delete rc branch needs: merge-rc-into-main runs-on: ubuntu-latest permissions: @@ -152,7 +152,7 @@ jobs: if: ${{ inputs.delete-rc-branch == true }} steps: - - name: πŸ“‚ Checkout branch dev + - name: πŸ“₯ Checkout branch dev uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: dev diff --git a/.github/workflows/template-ts-build-project.yaml b/.github/workflows/template-ts-build-project.yaml index 187c88c7..e548babe 100644 --- a/.github/workflows/template-ts-build-project.yaml +++ b/.github/workflows/template-ts-build-project.yaml @@ -72,7 +72,7 @@ jobs: id-token: write contents: read steps: - - name: πŸ“‚ Checkout main branch + - name: πŸ“₯ Checkout main branch uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ inputs.github-ref }} @@ -104,7 +104,7 @@ jobs: shell: bash run: npx @outsystems/assistant login --token ${{ steps.get-devOps-token.outputs.az-keyvault-value }} - - name: πŸ“¦ Install dependencies + - name: πŸ•ΈοΈ Install dependencies run: npm install - name: πŸ—οΈ Run build diff --git a/.github/workflows/template-validate-pr-labels.yaml b/.github/workflows/template-validate-pr-labels.yaml index 5a54d7a8..6bd5c64a 100644 --- a/.github/workflows/template-validate-pr-labels.yaml +++ b/.github/workflows/template-validate-pr-labels.yaml @@ -32,10 +32,10 @@ permissions: jobs: check-label: - name: πŸ”Ž Check PR labels + name: Check PR labels runs-on: ubuntu-latest steps: - - name: πŸ“‚ Checkout repository + - name: πŸ“₯ Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: πŸ”Ž Check PR labels diff --git a/.github/workflows/template-validate-pr-title.yaml b/.github/workflows/template-validate-pr-title.yaml index 1de2ece3..f1a3a448 100644 --- a/.github/workflows/template-validate-pr-title.yaml +++ b/.github/workflows/template-validate-pr-title.yaml @@ -42,10 +42,10 @@ permissions: jobs: check-title: - name: πŸ”Ž Check PR title + name: Check PR title runs-on: ubuntu-latest steps: - - name: πŸ“‚ Checkout repository + - name: πŸ“₯ Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: "πŸ”Ž Check PR title follows '${{ inputs.validate-semVer == true && '+semver: ' || '' }} '" diff --git a/.github/workflows/validate-pr-labels.yaml b/.github/workflows/validate-pr-labels.yaml index 5c8ad76b..e4352878 100644 --- a/.github/workflows/validate-pr-labels.yaml +++ b/.github/workflows/validate-pr-labels.yaml @@ -14,6 +14,6 @@ permissions: jobs: check-label: - name: πŸ”Ž Validate PR Labels + name: Validate PR Labels #uses: .templates/validate-pr-labels.yaml@9d497d1c5bc6e355aa8f4663539e6b75c212f6b4 #v2.0.7 uses: ./.github/workflows/template-validate-pr-labels.yaml \ No newline at end of file diff --git a/.github/workflows/validate-pr-title.yaml b/.github/workflows/validate-pr-title.yaml index 0f24b3cd..a55a9aa1 100644 --- a/.github/workflows/validate-pr-title.yaml +++ b/.github/workflows/validate-pr-title.yaml @@ -14,7 +14,7 @@ permissions: jobs: check-title: - name: πŸ”Ž Validate PR Title + name: Validate PR Title #uses: OutSystems/rd.github-reusable-workflows/.github/workflows/validate-pr-title.yaml@9d497d1c5bc6e355aa8f4663539e6b75c212f6b4 #v2.0.7 uses: ./.github/workflows/template-validate-pr-title.yaml with: From 555e2ab323dbf76aabebb707e744451551df50dc Mon Sep 17 00:00:00 2001 From: rug Date: Wed, 11 Feb 2026 11:47:23 +0100 Subject: [PATCH 3/4] Removing unused yaml --- .../template-label-and-validate-pr.yaml | 71 ------------------- 1 file changed, 71 deletions(-) delete mode 100644 .github/workflows/template-label-and-validate-pr.yaml diff --git a/.github/workflows/template-label-and-validate-pr.yaml b/.github/workflows/template-label-and-validate-pr.yaml deleted file mode 100644 index 3355ae34..00000000 --- a/.github/workflows/template-label-and-validate-pr.yaml +++ /dev/null @@ -1,71 +0,0 @@ -# -# This workflow aggregates 3 actions -# 1. Checks if any (or all) changes in a PR are on files NOT owned by the author and if so adds an inner sourcing label (or inner sourcing strict). -# -# 2. Prevents merging pull requests that don't follow the title convention: -# The title convention is -# "+semver: " -# OR -# " " -# depending on the 'validate-semVer' input value, -# where Β΄+semver: Β΄ section is optional, and must be a JIRA issue identifier. -# -# 3. Prevents merging pull requests that don't follow the label conventions. -# The rules to allow merging a pull request are: -# - it must have at least one label that describes the type of pull request -# - it must not have the "do not merge" label -# -# It assumes the code owners file is is `.github/CODEOWNERS` but you can override the configuration with the input variable `codeowners-path`. -# -# HOW TO USE: -# -# To call this reusable workflow, copy the code between === lines to a new workflow file, -# uncomment and adjust "uses" as needed (use the latest tag available). -# ====================================================================== -# -# name: Check if pull request is inner sourcing -# -# on: -# pull_request: -# types: -# - opened -# -# jobs: -# inner-sourcing: -# name: Check if pull request is inner sourcing -# uses: OutSystems/rd.github-reusable-workflows/.github/workflows/label-and-validate-pt.yaml@v2.0.4 -# secrets: inherit -# -# ====================================================================== - -name: Label and Validate the PR - -on: - workflow_call: - inputs: - codeowners-path: - required: false - type: string - default: ./.github/CODEOWNERS - -jobs: - inner-sourcing: - name: Check if pull request is inner sourcing - runs-on: ubuntu-latest - if: github.actor != 'dependabot[bot]' - steps: - - name: πŸ“₯ Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - #- name: Run pr-inner-sourcing-label action - # uses: OutSystems/rd.github-reusable-workflows/.github/actions/add-inner-sourcing-label@v2.0.7 - # with: - # github-token-for-labelling: ${{ secrets.GITHUB_TOKEN }} - # github-token-for-team-membership: ${{ secrets.INNERSOURCING_PR_DATA_GITHUB_TOKEN }} - # codeowners-path: ./CODEOWNERS - - name: πŸ”Ž Check PR Title - #uses: OutSystems/rd.github-reusable-workflows/.github/actions/validate-pr-title@v2.0.7 - uses: ./.github/actions/validate-pr-title - - name: πŸ”Ž Validate PR labels - #uses: OutSystems/rd.github-reusable-workflows/.github/actions/validate-pr-labels@v2.0.7 - uses: ./.github/actions/validate-pr-labels From b136d76938e51184ce85b686336fa85b30f7d7fd Mon Sep 17 00:00:00 2001 From: rug Date: Wed, 11 Feb 2026 12:49:22 +0100 Subject: [PATCH 4/4] Pinning version of github action --- .github/actions/validate-pr-title/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/validate-pr-title/action.yml b/.github/actions/validate-pr-title/action.yml index fc35cc8c..abf533c9 100644 --- a/.github/actions/validate-pr-title/action.yml +++ b/.github/actions/validate-pr-title/action.yml @@ -37,7 +37,7 @@ runs: using: composite steps: - name: "Check PR title follows '${{ inputs.validate-semVer == true && '+semver: ' || '' }} '" - uses: deepakputhraya/action-pr-title@v1.0.2 + uses: deepakputhraya/action-pr-title@3864bebc79c5f829d25dd42d3c6579d040b0ef16 #v1.0.2 with: regex: ^${{ inputs.validate-semVer == true && '(\+semver:\s(minor|major|patch)\s)?' || '' }}([A-Z][A-Z0-9]*-\d+(:)?\s\w) if: ${{ contains(github.head_ref, 'release/') == false && contains(github.head_ref, 'merge/') == false }}