Skip to content

Commit

Permalink
Add GitHub actions for immediate Concourse triggering
Browse files Browse the repository at this point in the history
  • Loading branch information
bgandon committed Dec 5, 2024
1 parent f4368de commit d9c5519
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/trigger-git-resource-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Trigger Concourse 'git' resource
on: [ push, workflow_dispatch ]
jobs:
trigger-resource-check:
runs-on: ubuntu-latest
steps:
- name: Trigger resource check
uses: gstackio/trigger-concourse-resource-check-action@v1
with:
concourse-url: https://ci.gstack.io
concourse-team: gk-plat-devs
concourse-pipeline: hashicorp-release-resource
concourse-resource: git
concourse-webhook-token: ${{ secrets.GK_CONCOURSE_WEBHOOK_TOKEN }}
14 changes: 14 additions & 0 deletions .github/workflows/trigger-pr-resource-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Trigger Concourse pull-request resource
on: [ push, pull_request, workflow_dispatch ]
jobs:
trigger-resource-check:
runs-on: ubuntu-latest
steps:
- name: Trigger resource check
uses: gstackio/trigger-concourse-resource-check-action@v1
with:
concourse-url: https://ci.gstack.io
concourse-team: gk-plat-devs
concourse-pipeline: hashicorp-release-resource
concourse-resource: git-pull-requests
concourse-webhook-token: ${{ secrets.GK_CONCOURSE_WEBHOOK_TOKEN }}

0 comments on commit d9c5519

Please sign in to comment.