Commit 1b5370ab authored by ansible-repo-updater[bot]'s avatar ansible-repo-updater[bot]
Browse files

chore: sync from template v1.3.0

parent 17d8e5ce
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
---
name: Lint
name: Breakage

"on":
  pull_request:
@@ -16,8 +16,8 @@ concurrency:

jobs:

  test:
    name: lint
  breakage:
    name: Breakage
    runs-on: ubuntu-latest
    permissions:
      contents: read
+34 −0
Original line number Diff line number Diff line
---
name: Release

"on":
  push:
    branches:
      - main

jobs:
  release:
    name: "Release"
    runs-on: ubuntu-latest
    permissions:
      contents: write
      pull-requests: write
    concurrency:
      group: semantic-release
      cancel-in-progress: false
    steps:
      - name: Checkout
        uses: actions/checkout@v6
        with:
          fetch-depth: 0
          token: ${{ secrets.SEMANTIC_RELEASE_TOKEN || secrets.GITHUB_TOKEN }}

      - name: Semantic release
        run: |
          docker run --rm \
            --user 1001 \
            -v ${{ github.workspace }}:/workspace \
            -w /workspace \
            -e GITHUB_TOKEN=${{ secrets.SEMANTIC_RELEASE_TOKEN || secrets.GITHUB_TOKEN }} \
            -e CI=true \
            ghcr.io/disafronov/semantic-release:latest
+28 −0
Original line number Diff line number Diff line
---
name: Validate

"on":
  pull_request:
    branches:
      - main

jobs:
  validate:
    name: "Validate"
    runs-on: ubuntu-latest
    permissions:
      contents: read
    steps:
      - name: Checkout
        uses: actions/checkout@v6
        with:
          fetch-depth: 0

      - name: Semantic release dry run
        run: |
          docker run --rm \
            --user 1001 \
            -v ${{ github.workspace }}:/workspace \
            -w /workspace \
            ghcr.io/disafronov/semantic-release:latest \
            --dry-run