Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: ini update v3 #109

Merged
merged 4 commits into from
Jul 5, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ jobs:
- name: Publish to NPM
uses: changesets/action@v1
continue-on-error: true
with:
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Comment
on:
issue_comment:
types:
- created
permissions:
contents: write
pull-requests: write
jobs:
approve:
runs-on: ubuntu-latest
if: github.event.issue.pull_request && contains(github.event.comment.body, '/approve')
timeout-minutes: 3
steps:
- name: Get PR Branch
uses: xt0rted/pull-request-comment-branch@v1
id: comment-branch
- name: Fetch Head w/ Token
uses: actions/checkout@v3
with:
ref: ${{ steps.comment-branch.outputs.head_ref }}
token: ${{ secrets.BOT_TOKEN }}
- name: Commit and Push
run: |
git config --local user.name 'github-actions[bot]'
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
git commit --allow-empty -m "chore: trigger workflow"
git push