-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add automation scripts for metadata and version management
- Loading branch information
1 parent
3c76580
commit df6f72d
Showing
6 changed files
with
406 additions
and
193 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
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,24 @@ | ||
name: Add issues and prs to ktsu.dev project | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
- reopened | ||
- transferred | ||
- labeled | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- labeled | ||
|
||
jobs: | ||
add-to-project: | ||
name: Add to project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/add-to-project@v1.0.2 | ||
with: | ||
project-url: https://github.com/orgs/ktsu-dev/projects/2 | ||
github-token: ${{ secrets.PROJECT_AUTOMATION_TOKEN }} |
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,9 @@ | ||
git config --global user.name "Github Actions" | ||
git config --global user.email "actions@users.noreply.github.com" | ||
git add VERSION.md LICENSE.md AUTHORS.md COPYRIGHT.md CHANGELOG.md PROJECT_URL.url AUTHORS.url | ||
git commit -m "[bot][skip ci] Update Metadata" | ||
git push | ||
|
||
$RELEASE_HASH = (git rev-parse HEAD) | ||
Write-Host "RELEASE_HASH: $RELEASE_HASH" | ||
"RELEASE_HASH=$RELEASE_HASH" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append |
Oops, something went wrong.