add message metadata support #60

Closed
vtolstov wants to merge 8 commits from messagemd into master
2 changed files with 26 additions and 1 deletions
Showing only changes of commit 6c7342b9aa - Show all commits

25
.github/workflows/autoreview.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: "prautomerge"
on:
pull_request_target:
types: [assigned, opened, synchronize, reopened]
permissions:
pull-requests: write
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'vtolstov' }}
steps:
- name: metadata
id: metadata
uses: dependabot/fetch-metadata@v1.3.0
with:
github-token: "${{ secrets.TOKEN }}"
- name: approve
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.TOKEN}}

View File

@ -11,7 +11,7 @@ permissions:
jobs: jobs:
dependabot: dependabot:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'vtolstov' }} if: ${{ github.actor == 'dependabot[bot]'}}
steps: steps:
- name: metadata - name: metadata
id: metadata id: metadata