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})? diff --git a/.github/workflows/validation_benchmarks.yml b/.github/workflows/validation_benchmarks.yml index 5b5d5fad21..8100171b83 100644 --- a/.github/workflows/validation_benchmarks.yml +++ b/.github/workflows/validation_benchmarks.yml @@ -1,11 +1,9 @@ name: Alert validation repository on: + workflow_dispatch: release: types: - published - push: - branches: - - develop jobs: build: