居然看到了我的investool #138
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
issue-message: "![](https://cdn.anishdoes.dev/githublight.png)\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 }} |