From 1ac422a06edcee7e444a5a2f6b80e9c45055a035 Mon Sep 17 00:00:00 2001 From: Arjun Verma Date: Thu, 16 Jan 2025 00:03:25 +0530 Subject: [PATCH] Remove Update license workflow (#4760) --- .github/workflows/update_license.yml | 39 ---------------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/update_license.yml diff --git a/.github/workflows/update_license.yml b/.github/workflows/update_license.yml deleted file mode 100644 index c426493ed6..0000000000 --- a/.github/workflows/update_license.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Update copyright year(s) - -on: - # Manual trigger - workflow_dispatch: - # Every January 1st at 3am GMT - schedule: - - cron: "0 3 1 1 *" - -jobs: - license: - # This workflow is only of value to PyBaMM and would always be skipped in forks - if: github.repository_owner == 'pybamm-team' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - fetch-depth: 0 - - name: Update year in license - uses: FantasticFiasco/action-update-license-year@9135da8f9ccc675217e02357c744b6b541d45cb0 # v3.0.2 - with: - token: ${{ secrets.GITHUB_TOKEN }} - path: LICENSE.txt - - docs: - # This workflow is only of value to PyBaMM and would always be skipped in forks - if: github.repository_owner == 'pybamm-team' - needs: license - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - fetch-depth: 0 - - name: Update year in docs - uses: FantasticFiasco/action-update-license-year@9135da8f9ccc675217e02357c744b6b541d45cb0 # v3.0.2 - with: - token: ${{ secrets.GITHUB_TOKEN }} - path: docs/conf.py - transform: (?<=copyright = ")(?\d{4})?-?(\d{4})?