Skip to content

Commit

Permalink
Update repository files (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mashiro authored Jan 15, 2024
1 parent 63ceb00 commit bae0d52
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 30 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/java_ci.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ on:
jobs:
java_ci:
name: Java CI
uses: Katsute/Workflows/.github/workflows/java.ci.yml@main
uses: KatsuteDev/Workflows/.github/workflows/java.ci.yml@main
with:
package: true
report: true
secrets:
token: ${{ secrets.BOT }}
package: true
2 changes: 1 addition & 1 deletion .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ on: [pull_request_target]
jobs:
dependabot:
name: Dependabot[bot]
uses: Katsute/Workflows/.github/workflows/dependabot.yml@main
uses: KatsuteDev/Workflows/.github/workflows/dependabot.yml@main
16 changes: 6 additions & 10 deletions .github/workflows/manager.yml → .github/workflows/kdevbot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Repository Manager
name: kdevbot[bot]
on:
workflow_dispatch:
schedule:
Expand All @@ -16,14 +16,10 @@ on:
types: [published]

jobs:
manager:
name: Repository Manager
uses: Katsute/Workflows/.github/workflows/manager.yml@main
kdevbot:
name: kdevbot[bot]
uses: KatsuteDev/kdevbot/.github/workflows/kdevbot.yml@main
if: >-
${{
(github.repository_owner == 'Katsute' || github.repository_owner == 'KatsuteDev') &&
github.actor != 'mashiro-san' &&
github.repository_owner == 'KatsuteDev' &&
!endsWith(github.actor, '[bot]')
}}
secrets:
token: ${{ secrets.BOT }}
secrets: inherit
6 changes: 3 additions & 3 deletions .github/workflows/mta_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ jobs:
run: mkdir -p "src/test/java/resources"

- name: Load Client ID
run: |
run: |-
echo ${{ secrets.BUS_TOKEN }} > src/test/java/resources/bus.txt
- name: Load OAuth Token
run: |
run: |-
echo ${{ secrets.SUBWAY_TOKEN }} > src/test/java/resources/subway.txt
- name: Load Test Group
run: |
run: |-
echo ${{ matrix.group }} > src/test/java/resources/TEST_GROUP
- name: Test with Maven
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@ on:
jobs:
deploy:
name: Deploy
uses: Katsute/Workflows/.github/workflows/java.deploy.yml@main
uses: KatsuteDev/Workflows/.github/workflows/java.deploy.maven.yml@main
with:
environment: Maven Central
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
maven-username: ${{ secrets.OSSRH_USERNAME }}
maven-password: ${{ secrets.OSSRH_TOKEN }}
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
secrets: inherit
7 changes: 3 additions & 4 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:
jobs:
stale:
name: Stale
uses: Katsute/Workflows/.github/workflows/stale.yml@main
if: github.repository_owner == 'Katsute' || github.repository_owner == 'KatsuteDev'
secrets:
token: ${{ secrets.BOT }}
uses: KatsuteDev/Workflows/.github/workflows/stale.yml@main
if: github.repository_owner == 'KatsuteDev'
secrets: inherit

0 comments on commit bae0d52

Please sign in to comment.