Skip to content

Commit

Permalink
comment after bump
Browse files Browse the repository at this point in the history
Signed-off-by: RedGuy12 <paul@reid-family.org>
  • Loading branch information
cobaltt7 committed Jun 24, 2023
1 parent b89efd5 commit 6af96f2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,24 @@ jobs:
with:
ref: ${{ github.head_ref }}

- name: Bump dependencies
uses: RedGuy12/sync-types@v1.1.2
- name: Bump
id: sync_types
uses: RedGuy12/sync-types@v1.2.0

- name: Commit
id: commit
uses: stefanzweifel/git-auto-commit-action@v4.16.0
with:
commit_message: Bump dependencies
branch: ${{ github.head_ref }}

- name: Comment
run: |
body="<details><summary>Bumped dependencies</summary>${{ steps.sync_types.outputs.changes }}</details><details><summary>Requirement changes</summary>${{ steps.sync_types.outputs.sync }}</details>"
echo "$body" | gh api "repos/${{ github.repository }}/commits/${{ steps.commit.outputs.commit_sha }}/comments" -X POST -F body=-
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

format:
name: Format
if: startsWith(github.ref_name, 'dependabot/') != true
Expand Down

0 comments on commit 6af96f2

Please sign in to comment.