-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NOID] Adds job to update the licenses in PRs (#524)
- Loading branch information
Showing
3 changed files
with
22 additions
and
2 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 @@ runs: | |
git config --global user.name 'neo-technology-build-agent' | ||
git config --global user.email '[email protected]' | ||
git add -A | ||
git commit -m "Run ${{ inputs.gradle-command }}" | ||
git commit -m "[NOID] Run ${{ inputs.gradle-command }}" | ||
- name: Push changes | ||
uses: ad-m/github-push-action@d91a481090679876dfc4178fef17f286781251df # v0.8.0 | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Updates license files | ||
on: | ||
repository_dispatch: | ||
types: [generateLicenses-command] | ||
|
||
jobs: | ||
format: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Format and push changes to PR | ||
uses: ./.github/actions/gradle-command-on-pr | ||
with: | ||
gradle-command: generateLicenses | ||
TEAMCITY_DEV_URL: ${{ secrets.TEAMCITY_DEV_URL }} | ||
TEAMCITY_USER: ${{ secrets.TEAMCITY_USER }} | ||
TEAMCITY_PASSWORD: ${{ secrets.TEAMCITY_PASSWORD }} | ||
SERVICE_ACCOUNT_PAT: ${{ secrets.SERVICE_ACCOUNT_PAT }} |