Skip to content
Merged
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
32 changes: 32 additions & 0 deletions .github/workflows/postgis-check-command.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: postgis-check

on:
workflow_dispatch:
inputs:
head-sha:
description: 'Reference to the branch to run against'
required: true
issue-number:
description: 'The issue-number of the slash command'
required: true
comment-creation-date:
description: 'The slash command creation date passed from the slash-command workflow'
required: true
versions:
description: 'Wanted postgis docker versions to check'
required: false
node-versions:
description: 'Node.js versions to check'
required: false

jobs:
postgis_check:
uses: MapColonies/shared-workflows/.github/workflows/postgis-check-command.yml@master
secrets: inherit
with:
head-sha: ${{ inputs.head-sha }}
issue-number: ${{ inputs.issue-number }}
comment-creation-date: ${{ inputs.comment-creation-date }}
versions: ${{ inputs.versions }}
node-versions: ${{ inputs.node-versions }}
db-schema: dump_server
24 changes: 24 additions & 0 deletions .github/workflows/slash-command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Slash Command Dispatch

on:
issue_comment:
types: [created]

jobs:
get_comment_branch:
runs-on: ubuntu-latest
outputs:
head_sha: ${{ steps.set_base_ref.outputs.HEAD_SHA }}
steps:
- name: resolve pr refs
uses: xt0rted/pull-request-comment-branch@v3
id: comment_branch
- name: Set base ref
id: set_base_ref
run: echo "HEAD_SHA=${{ steps.comment_branch.outputs.head_sha }}" >> $GITHUB_OUTPUT
slash_command_dispatch:
needs: [get_comment_branch]
uses: MapColonies/shared-workflows/.github/workflows/slash-command.yaml@master
secrets: inherit
with:
head-sha: ${{ needs.get_comment_branch.outputs.head_sha }}