From cc57944c93ffdcdd3c941157349648eca377d8b8 Mon Sep 17 00:00:00 2001 From: Alexander Saprykin Date: Mon, 30 Sep 2024 14:28:44 +0200 Subject: [PATCH] Remove outdated commit check action The `validate_commit_message_custom.py` script is not available, after it was removed in https://github.com/ansible/galaxy_ng/pull/2275 --- .github/workflows/galaxy_ng_commit_check.yml | 41 -------------------- 1 file changed, 41 deletions(-) delete mode 100644 .github/workflows/galaxy_ng_commit_check.yml diff --git a/.github/workflows/galaxy_ng_commit_check.yml b/.github/workflows/galaxy_ng_commit_check.yml deleted file mode 100644 index dc1b2340..00000000 --- a/.github/workflows/galaxy_ng_commit_check.yml +++ /dev/null @@ -1,41 +0,0 @@ ---- - -name: Commit Check used in GalaxyNG - - -# Events that trigger workflow -on: - pull_request: - branches: - - master - push: - branches: - - master - -# Jobs can run sequentially or in parallel -jobs: - commit-check: - - 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_PR_COMMITS_URL: ${{ github.event.pull_request.commits_url }} - START_COMMIT: ${{ github.event.before }} - END_COMMIT: ${{ github.event.after }} - run: | - curl https://raw.githubusercontent.com/ansible/galaxy_ng/master/.ci/scripts/validate_commit_message_custom.py | python