Add a workflow to automate config connector release bundle creation #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Config Connector Release Automation | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths-ignore: | |
- "**.md" | |
- "experiments/**" | |
push: | |
branches: ["master"] | |
paths-ignore: | |
- "**.md" | |
- "experiments/**" | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
run-example: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# - name: Authenticate to Google Cloud | |
# uses: google-github-actions/auth@v2 | |
# with: | |
# workload_identity_provider: 'projects/758705872360/locations/global/workloadIdentityPools/YOUR_POOL_ID/providers/YOUR_PROVIDER_ID' | |
# service_account: '[email protected]' | |
- name: Set up Cloud SDK | |
uses: google-github-actions/setup-gcloud@v1 | |
- name: Run the create-relese-bundle script | |
run: | | |
chmod +x ./dev/tasks/example.sh | |
./dev/tasks/example.sh |