Skip to content
New issue

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

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

Already on GitHub? # to your account

Install simple-git #34

Merged
merged 1 commit into from
Mar 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/tagpr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm install simple-git
- name: Trigger CI Workflow
uses: actions/github-script@v6
with:
Expand All @@ -34,7 +39,7 @@ jobs:

if (pullRequests.length > 0) {
const pullRequest = pullRequests[0];
const git = simpleGit();
const git = require('simple-git');

await git.addConfig('user.name', 'GitHub Actions');
await git.addConfig('user.email', 'actions@github.com');
Expand Down