Skip to content

Update qbot-release.yml #144

Update qbot-release.yml

Update qbot-release.yml #144

Workflow file for this run

name: Greetings
on: [pull_request_target, issues]
jobs:
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v1
with:

Check failure on line 13 in .github/workflows/greetings.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/greetings.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: "<a href="https://github.com/UFund-Me"><img alt="image" src="https://github.com/UFund-Me/Qbot/assets/29084184/39c4e22f-bc3a-4d13-b213-9e101675b038"></a> \nHey @{user}! Welcome to the **QBOT** repo on **Github**."
pr-message: "Message that will be displayed on users' first pull request"
auto-lgtm:
if: ${{ github.event.review.state == 'approved' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: lazy-actions/lgtm-image-action@main
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
favorite-image: 'https://your.favorite/image1.png,https://your.favorite/image2.png'
post-lgtm-image:
runs-on: ubuntu-latest
if: (!contains(github.actor, '[bot]')) # Exclude bot comment
steps:
- uses: ddradar/choose-random-action@v2
id: act
with:
contents: |
https://example.com/your-lgtm-image-1.jpg
https://example.com/your-lgtm-image-2.jpg
https://example.com/your-lgtm-image-3.jpg
- uses: ddradar/lgtm-action@v2.0.2
with:
image-url: ${{ steps.act.outputs.selected }}