forked from mosip/tuvali
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Abhishek Paul <[email protected]>
- Loading branch information
Showing
1 changed file
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ jobs: | |
cp -R ./ios/ble ./artifacts/swift-artifact/ios-tuvali-library/Sources/ios-tuvali-library | ||
cp -R ./ios/crypto ./artifacts/swift-artifact/ios-tuvali-library/Sources/ios-tuvali-library | ||
cp -R ./ios/common ./artifacts/swift-artifact/ios-tuvali-library/Sources/ios-tuvali-library | ||
- name: Configure Git | ||
run: | | ||
git config --local user.email "[email protected]" | ||
|
@@ -58,9 +58,23 @@ jobs: | |
git add . | ||
git commit --allow-empty -m "chore(#891): changes in script" | ||
- name: Push Changes to Specific Branch | ||
run: | | ||
git pull origin --rebase | ||
git push | ||
- name: Create Pull Request | ||
uses: peter-evans/[email protected] | ||
with: | ||
commit-message: creating swift artifact | ||
title: Release changes | ||
body: Automated PR for swift artifact build. | ||
branch: "update-ios-artifact" | ||
delete-branch: true | ||
base:${{ github.head_ref }} | ||
token: ${{ secrets.ACTION_PAT }} | ||
signoff: true | ||
|
||
- uses: 8398a7/action-slack@v3 | ||
with: | ||
status: ${{ job.status }} | ||
fields: repo,message,author,commit,workflow,job # selectable (default: repo,message) | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
if: "${{ github.event_name != 'pull_request' && failure() }}" | ||
|