Skip to content

Commit

Permalink
Improve formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
twsl committed Dec 18, 2024
1 parent cf5aad7 commit 2a7af7a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions project/.github/workflows/build.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ on:
{% if 'road-runner' in github_runner %}{% set github_runner = [github_runner_onprem] %}{% endif %}{% raw %}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
{% endraw %}
cancel-in-progress: true{% endraw %}

jobs:
build-and-test:
Expand Down
1 change: 0 additions & 1 deletion project/.github/workflows/release-drafter.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
# branches to consider in the event; optional, defaults to all
branches:
- main

{% if 'road-runner' in github_runner %}{% set github_runner = [github_runner_onprem] %}{% endif %}
jobs:
update_release_draft:
Expand Down
4 changes: 1 addition & 3 deletions project/.github/workflows/release.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ name: Release
on:
release:
types: [published]

{% if repository_provider == 'github.com' %}{% set action_version = 4 %}{% else %}{% set action_version = 3 %}{% endif%}
{% if 'road-runner' in github_runner %}{% set github_runner = [github_runner_onprem] %}{% endif %}
jobs:
release:
Expand All @@ -16,7 +14,7 @@ jobs:
defaults:
run:
shell: bash

{% if repository_provider == 'github.com' %}{% set action_version = 4 %}{% else %}{% set action_version = 3 %}{% endif%}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 2a7af7a

Please sign in to comment.