Skip to content

Issue Comment Events #135

Issue Comment Events

Issue Comment Events #135

Workflow file for this run

name: Issue Comment Events
permissions:
issues: write
pull-requests: write
on:
issue_comment:
types: [created, edited]
jobs:
reminder:
name: Check for reminder
runs-on: ubuntu-latest
steps:
- name: Check if branch exists
id: check-branch-exists
run: |
if [[ -n $(git ls-remote --heads origin dev) ]]; then
echo "exists=yes" >> $GITHUB_OUTPUT
else
echo "exists=no" >> $GITHUB_OUTPUT
fi
shell: bash
- name: 🔍 Check for reminder
if: ${{ steps.check-branch-exists.outputs.exists == 'yes' }}
uses: agrc/create-reminder-action@dev
- name: 🔍 Check for reminder
if: ${{ steps.check-branch-exists.outputs.exists == 'no' }}
uses: agrc/create-reminder-action@main