Skip to content

chore(main): release push-to-gcs 0.2.1 #750

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"actions/setup-conftest": "1.0.1",
"actions/setup-argo": "1.0.1",
"actions/generate-openapi-clients": "1.0.1",
"actions/push-to-gcs": "0.2.0",
"actions/push-to-gcs": "0.2.1",
"actions/techdocs-rewrite-relative-links": "1.0.1",
"actions/validate-policy-bot-config": "1.1.0",
"actions/trigger-argo-workflow": "1.1.0",
Expand Down
21 changes: 21 additions & 0 deletions actions/push-to-gcs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changelog

## [0.2.1](https://github.com/grafana/shared-workflows/compare/push-to-gcs-v0.2.0...push-to-gcs-v0.2.1) (2025-05-07)


### 🐛 Bug Fixes

* ensure every action disables git credential persistence ([#821](https://github.com/grafana/shared-workflows/issues/821)) ([31ebf3f](https://github.com/grafana/shared-workflows/commit/31ebf3f8e5d0f8709e6ec4ef73b39dd2bd08f959))
* **everything:** fix all things for zizmor ([af9b0c5](https://github.com/grafana/shared-workflows/commit/af9b0c52635d39023136fb9312a354f91d9b2bfd))


### 🤖 Continuous Integration

* don't persist shared workflows folder after action is done ([#905](https://github.com/grafana/shared-workflows/issues/905)) ([9a34c93](https://github.com/grafana/shared-workflows/commit/9a34c9302d2064c48e03cf7c4c7cd45998c4615e))
* remove gcp credentials after composite action finishes ([#925](https://github.com/grafana/shared-workflows/issues/925)) ([62f8dda](https://github.com/grafana/shared-workflows/commit/62f8ddaa78b23147b22ba6a38df2b97963dab4b3))


### 🔧 Miscellaneous Chores

* **deps:** update google-github-actions/upload-cloud-storage action to v2.2.2 ([#741](https://github.com/grafana/shared-workflows/issues/741)) ([5f7a536](https://github.com/grafana/shared-workflows/commit/5f7a5361daa274f9a1994893a4c21a8967cf2a24))
* **deps:** update google-github-actions/upload-cloud-storage action to v2.2.2 ([#749](https://github.com/grafana/shared-workflows/issues/749)) ([948bff0](https://github.com/grafana/shared-workflows/commit/948bff0b53f9d51876b8bca2cb1408384b4ce3b5))
* **main:** release push-to-gar-docker 0.3.0 ([#794](https://github.com/grafana/shared-workflows/issues/794)) ([a7bc536](https://github.com/grafana/shared-workflows/commit/a7bc5367c4a91c389526d58839d8f6224dba4dcc))

## [0.2.0](https://github.com/grafana/shared-workflows/compare/push-to-gcs-v0.1.0...push-to-gcs-v0.2.0) (2025-01-28)


Expand Down
24 changes: 12 additions & 12 deletions actions/push-to-gcs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,77 +35,77 @@ jobs:
id: login-to-gcs

# Upload a single file to the bucket root
- uses: grafana/shared-workflows/actions/[email protected].0
- uses: grafana/shared-workflows/actions/[email protected].1
with:
bucket: ${{ steps.login-to-gcs.outputs.bucket }}
path: file.txt
environment: "dev" # Can be dev/prod (defaults to dev)

# Upload a single file and apply a predefined ACL. See `predefinedAcl` for options.
- uses: grafana/shared-workflows/actions/[email protected].0
- uses: grafana/shared-workflows/actions/[email protected].1
with:
bucket: ${{ steps.login-to-gcs.outputs.bucket }}
path: file.txt
predefinedAcl: projectPrivate
environment: "dev"

# Here are 3 equivalent statements to upload a single file and its parent directory to the bucket root
- uses: grafana/shared-workflows/actions/[email protected].0
- uses: grafana/shared-workflows/actions/[email protected].1
with:
bucket: ${{ steps.login-to-gcs.outputs.bucket }}
path: folder/file.txt
- uses: grafana/shared-workflows/actions/[email protected].0
- uses: grafana/shared-workflows/actions/[email protected].1
with:
bucket: ${{ steps.login-to-gcs.outputs.bucket }}
path: .
glob: "folder/file.txt"
- uses: grafana/shared-workflows/actions/[email protected].0
- uses: grafana/shared-workflows/actions/[email protected].1
with:
bucket: ${{ steps.login-to-gcs.outputs.bucket }}
path: folder
glob: "file.txt"

# Here are 2 equivalent statements to upload a single file WITHOUT its parent directory to the bucket root
- uses: grafana/shared-workflows/actions/[email protected].0
- uses: grafana/shared-workflows/actions/[email protected].1
with:
bucket: ${{ steps.login-to-gcs.outputs.bucket }}
path: folder/file.txt
parent: false
- uses: grafana/shared-workflows/actions/[email protected].0
- uses: grafana/shared-workflows/actions/[email protected].1
with:
bucket: ${{ steps.login-to-gcs.outputs.bucket }}
path: folder
glob: "file.txt"
parent: false

# Here are 2 equivalent statements to upload a directory with all subdirectories
- uses: grafana/shared-workflows/actions/[email protected].0
- uses: grafana/shared-workflows/actions/[email protected].1
with:
bucket: ${{ steps.login-to-gcs.outputs.bucket }}
path: folder/
- uses: grafana/shared-workflows/actions/[email protected].0
- uses: grafana/shared-workflows/actions/[email protected].1
with:
bucket: ${{ steps.login-to-gcs.outputs.bucket }}
path: .
glob: "folder/**/*"

# Specify a bucket prefix with `bucket_path`
- uses: grafana/shared-workflows/actions/[email protected].0
- uses: grafana/shared-workflows/actions/[email protected].1
name: upload-yaml-to-some-path
with:
bucket: ${{ steps.login-to-gcs.outputs.bucket }}
path: file.txt
bucket_path: some-path/

# Upload all files of a type
- uses: grafana/shared-workflows/actions/[email protected].0
- uses: grafana/shared-workflows/actions/[email protected].1
with:
bucket: ${{ steps.login-to-gcs.outputs.bucket }}
path: folder/
glob: "*.txt"

# upload all files of a type recursively
- uses: grafana/shared-workflows/actions/[email protected].0
- uses: grafana/shared-workflows/actions/[email protected].1
with:
bucket: ${{ steps.login-to-gcs.outputs.bucket }}
path: folder/
Expand Down