We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b53dfe commit 9abc5ceCopy full SHA for 9abc5ce
1 file changed
.github/workflows/gcp-inspect.yml
@@ -0,0 +1,30 @@
1
+name: GCP Inspect
2
+on:
3
+ workflow_dispatch:
4
+
5
+jobs:
6
+ inspect:
7
+ runs-on: ubuntu-latest
8
+ environment: GCP-Rozen
9
+ permissions:
10
+ contents: 'read'
11
+ id-token: 'write'
12
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v4
16
17
+ - name: Authenticate Cloud CLI
18
+ uses: 'google-github-actions/auth@v2'
19
+ with:
20
+ credentials_json: ${{ secrets.GCP_SA_KEY }}
21
22
+ - name: Set up Cloud SDK
23
+ uses: 'google-github-actions/setup-gcloud@v2'
24
25
+ - name: Inspect Cloud Run
26
+ run: |
27
+ echo "=== Cloud Run Services ==="
28
+ gcloud run services describe dcubabot --region us-central1 --project dcubabot --format="json" || true
29
+ echo "=== Cloud Scheduler Jobs ==="
30
+ gcloud scheduler jobs list --location us-central1 --project dcubabot || true
0 commit comments