Skip to content

Commit

Permalink
chore(GithubAction): test run
Browse files Browse the repository at this point in the history
  • Loading branch information
VadymBezpalko committed Sep 12, 2024
1 parent d12b7f9 commit 250e5bd
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,15 @@ jobs:
- name: Display modified files
run: git status --short
- name: Display detailed diff
run: git diff
run: git diff

- name: Run tests
run: npm run test

- name: Create merge-back PR to main using GitHub API
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{"title":"[TEST] Merge-back: release to main","body":"This is an automated PR to merge the release branch into main after version bump and publish.","head":"feature/main-workflow-test-v2","base":"main"}' \
https://api.github.com/repos/${{ github.repository }}/pulls

0 comments on commit 250e5bd

Please sign in to comment.