diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 27c9d25..ff3a8c7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,55 +11,6 @@ on: # branches: [ "main" ] jobs: - lint: - name: Ansible Lint - runs-on: ubuntu-latest - steps: - - name: Which branch? - shell: bash - run: | - echo "${{ github.head_ref || github.ref_name }}" - - - uses: actions/checkout@v4 - with: - ref: ${{ github.head_ref || github.ref_name }} - - # step to install prerequis - - name: Install prerequis - shell: bash - run: | - make prerequis - - - name: Run ansible-lint - uses: ansible/ansible-lint@main - - update-version: - name: Update Versions - needs: lint - runs-on: ubuntu-latest - - if: github.repository == 'mozebaltyk/ansicolt' - permissions: - actions: write - checks: write - contents: write - - steps: - # Checkout on branch where pull request - - name: Which branch? - shell: bash - run: | - echo "${{ github.head_ref || github.ref_name }}" - - - uses: actions/checkout@v4 - with: - ref: ${{ github.head_ref || github.ref_name }} - - # This one is redondant with renovate but make sure - # that all versions are updated before to release! - - name: Update version in readme and changelog - uses: ./.github/actions/update-version - release: name: Release to Galaxy needs: update-version