diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 32f4aa9a..d67f8630 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,6 +11,7 @@ on: jobs: release-plz-release: + if: github.repository_owner == 'rust-lang' name: Release-plz release runs-on: ubuntu-latest steps: diff --git a/.github/workflows/regenerate-target-info.yml b/.github/workflows/regenerate-target-info.yml index d3b5afa7..32fd5bc7 100644 --- a/.github/workflows/regenerate-target-info.yml +++ b/.github/workflows/regenerate-target-info.yml @@ -7,6 +7,7 @@ on: jobs: regenerate: + if: github.repository_owner == 'rust-lang' name: Regenerate target info & Open Pull Request if necessary runs-on: ubuntu-latest steps: diff --git a/.github/workflows/regenerate-windows-sys.yml b/.github/workflows/regenerate-windows-sys.yml index 8fabbe30..f5d518e5 100644 --- a/.github/workflows/regenerate-windows-sys.yml +++ b/.github/workflows/regenerate-windows-sys.yml @@ -7,6 +7,7 @@ on: jobs: regenerate: + if: github.repository_owner == 'rust-lang' name: Regenerate windows sys bindings & Open Pull Request if necessary runs-on: ubuntu-latest steps: @@ -20,7 +21,7 @@ jobs: - name: Create lockfile run: cargo update - + - uses: Swatinem/rust-cache@v2 with: cache-all-crates: 'true'