Skip to content

Commit

Permalink
Dont read from cache in sensitive workflows (#31734)
Browse files Browse the repository at this point in the history
* Dont read from cache in sensitive workflows

* Disable actions cache
  • Loading branch information
damccorm committed Jul 1, 2024
1 parent bae6fcf commit 4738477
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/beam_Publish_Website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ concurrency:

env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GE_CACHE_USERNAME }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GE_CACHE_PASSWORD }}

jobs:
beam_Publish_Website:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/beam_Release_NightlySnapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ permissions:

env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GE_CACHE_USERNAME }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GE_CACHE_PASSWORD }}

jobs:
beam_Release_NightlySnapshot:
Expand All @@ -64,6 +62,7 @@ jobs:
uses: ./.github/actions/setup-environment-action
with:
java-version: default
disable-cache: true
- name: Auth on snapshot repository
run: |
mkdir -p ${HOME}/.m2
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/deploy_release_candidate_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ on:

env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GE_CACHE_USERNAME }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GE_CACHE_PASSWORD }}

jobs:
deploy_release_candidate_pypi:
Expand All @@ -37,6 +35,7 @@ jobs:
uses: ./.github/actions/setup-environment-action
with:
python-version: 3.11
disable-cache: true
- name: Install dependencies
run: |
pip install python-dateutil
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/finalize_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ on:
default: 'no'
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GE_CACHE_USERNAME }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GE_CACHE_PASSWORD }}

permissions:
contents: write
Expand Down Expand Up @@ -105,6 +103,7 @@ jobs:
uses: ./.github/actions/setup-environment-action
with:
python-version: 3.11
disable-cache: true
- name: Install dependencies
run: |
pip install python-dateutil
Expand Down

0 comments on commit 4738477

Please sign in to comment.