Skip to content

Generating Social Posts with Google Gemini and Directus Automate #180

Generating Social Posts with Google Gemini and Directus Automate

Generating Social Posts with Google Gemini and Directus Automate #180

Workflow file for this run

name: Add comment
on:
issues:
types:
- opened
jobs:
add-comment:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Add comment
run: gh issue comment "$NUMBER" --body "$BODY"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
BODY: >
Thank you for submitting an idea for our guest blog. <br>
We work through new ideas every few weeks as we put together our content schedule. This means you may not get an immediate response as to whether your idea has been accepted, or any follow-up questions we have to clarify your idea.<br>
If your idea is accepted, we will provide a deadline for first draft and how much we can pay you for the post. You will have a few days to confirm whether you are still able and willing to write the post. <br>
If you have any questions in the meantime, feel free to add a comment to this issue.