From 26598ebb93b678444c48362ecb1b318c045ec483 Mon Sep 17 00:00:00 2001 From: Bruno Rocha Date: Thu, 26 Sep 2024 18:13:54 +0100 Subject: [PATCH] Removed commit-check from stable-4.10 No more need for CHANGES/ and No-Issue --- .github/workflows/ci.yml | 23 ----------------------- .github/workflows/ci_full.yml | 27 --------------------------- 2 files changed, 50 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5fee7d06a8..8feb3420ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,29 +18,6 @@ defaults: working-directory: "galaxy_ng" jobs: - check_commit: - - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - with: - ref: ${{ github.event.after }} # for PR avoids checking out merge commit - fetch-depth: 0 # include all history - - - name: Run script to validate commits for both pull request and a push - env: - PY_COLORS: "1" - ANSIBLE_FORCE_COLOR: "1" - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - GITHUB_CONTEXT: "${{ github.event.pull_request.commits_url }}" - GITHUB_USER: "${{ github.event.pull_request.user.login }}" - GITHUB_PR_COMMITS_URL: ${{ github.event.pull_request.commits_url }} - START_COMMIT: ${{ github.event.before }} - END_COMMIT: ${{ github.event.after }} - run: | - cd .. - python .ci/scripts/validate_commit_message_custom.py lint_po: runs-on: ubuntu-latest diff --git a/.github/workflows/ci_full.yml b/.github/workflows/ci_full.yml index 05e6704a21..b882fc423b 100644 --- a/.github/workflows/ci_full.yml +++ b/.github/workflows/ci_full.yml @@ -4,33 +4,6 @@ on: {pull_request: {branches: ['**']}, push: {branches: ['**']}} jobs: - check_commit: - runs-on: ubuntu-latest - steps: - - - name: Checkout code - uses: actions/checkout@v2 - with: - ref: ${{ github.event.after }} # for PR avoids checking out merge commit - fetch-depth: 0 # include all history - - - name: Run script to validate commits for both pull request and a push - env: - PY_COLORS: '1' - ANSIBLE_FORCE_COLOR: '1' - GITHUB_PULL_REQUEST: ${{ github.event.number }} - GITHUB_PULL_REQUEST_BODY: ${{ github.event.pull_request.body }} - GITHUB_BRANCH: ${{ github.head_ref }} - GITHUB_REPO_SLUG: ${{ github.repository }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITHUB_CONTEXT: ${{ github.event.pull_request.commits_url }} - GITHUB_USER: ${{ github.event.pull_request.user.login }} - GITHUB_PR_COMMITS_URL: ${{ github.event.pull_request.commits_url }} - START_COMMIT: ${{ github.event.before }} - END_COMMIT: ${{ github.event.after }} - run: | - python .ci/scripts/validate_commit_message_custom.py - lint_po: runs-on: ubuntu-latest steps: