diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8e0c7590..4774ffd7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,8 +8,8 @@ on: branches: - main tags: - - 'v*.*.*' - - 'helm/v*.*.*' + - "v*.*.*" + - "helm/v*.*.*" pull_request: permissions: @@ -31,9 +31,8 @@ jobs: with: fetch-depth: 0 - - name: Setup Taskfile - shell: bash - run: sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b ~/.local/bin + - name: Install Task + uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0 - name: Build code run: | @@ -164,9 +163,8 @@ jobs: with: fetch-depth: 0 - - name: Setup Taskfile - shell: bash - run: sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b ~/.local/bin + - name: Install Task + uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0 - name: Download artifacts uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9 @@ -192,8 +190,8 @@ jobs: - name: Set up Elixir uses: erlef/setup-beam@8251c48667b97e88a0a24ec512f5b72a039fcea7 # v1 with: - elixir-version: '1.19' - otp-version: '28' + elixir-version: "1.19" + otp-version: "28" - name: Fetch Elixir deps run: mix deps.get @@ -230,7 +228,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 with: fetch-depth: 0 @@ -302,7 +300,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 with: fetch-depth: 0 @@ -314,7 +312,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Setup Helm - uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0 + uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0 with: version: "3.12.1" diff --git a/.github/workflows/lint-pr-title.yaml b/.github/workflows/lint-pr-title.yaml index 7756cf0d..d6b0d73e 100644 --- a/.github/workflows/lint-pr-title.yaml +++ b/.github/workflows/lint-pr-title.yaml @@ -48,7 +48,7 @@ jobs: if: always() && (steps.lint_pr_title.outputs.error_message != null) with: header: pr-title-lint-error - message: "Hey there and thank you for opening this pull request! 👋🏼\n\nWe require pull request titles to follow the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/),\nand it looks like your proposed title needs to be adjusted.\n\nThe scope (component) must be one of: `server`, `schema`, `proto`, `helm`, or `ci` to indicate which component is safe to backport.\nNote: `schema` changes should not be made retroactively.\n\nDetails:\n\n```\n${{ steps.lint_pr_title.outputs.error_message }}\n```\n\nExamples:\n\n```\n- fix(server): resolve validation issue\n- feat(schema): add new module\n- deps(server): update dependencies\n- feat(proto): add new field to record proto\n- fix(helm): correct resource limits\n- ci: update workflow configuration\n```\n" + message: "Hey there and thank you for opening this pull request! 👋🏼\n\nWe require pull request titles to follow the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/),\nand it looks like your proposed title needs to be adjusted.\n\nThe scope (component) must be one of: `server`, `schema`, `proto`, `helm`, or `ci` to indicate which component is safe to backport.\nNote: `schema` changes should not be made retroactively.\n\nDetails:\n\n```\n${{ steps.lint_pr_title.outputs.error_message }}\n```\n\nExamples:\n\n```\n- fix(server): resolve validation issue\n- feat(schema): add new module\n- deps(server): update dependencies\n- feat(proto): add new field to record proto\n- fix(helm): correct resource limits\n- ci(ci): update workflow configuration\n```\n" - if: "${{ steps.lint_pr_title.outputs.error_message == null }}" uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4