Skip to content
Open
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
24 changes: 11 additions & 13 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
branches:
- main
tags:
- 'v*.*.*'
- 'helm/v*.*.*'
- "v*.*.*"
- "helm/v*.*.*"
pull_request:

permissions:
Expand All @@ -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: |
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand All @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-pr-title.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading