Skip to content

Commit

Permalink
ci(github-actions): Fix misc
Browse files Browse the repository at this point in the history
  • Loading branch information
ginokent committed Jan 5, 2025
1 parent e599a30 commit dab27a7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@ on:

jobs:
auto-assign:
name: Auto Assign
if: github.actor != 'dependabot[bot]'
if: github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]'
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- if: ${{ toJSON(github.event.pull_request.assignees) == '[]' }}
run: gh pr edit "${NUMBER}" --add-assignee "${ASSIGNEE}"
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}
ASSIGNEE: ${{ github.event.pull_request.user.login }}
run: |
gh pr --repo ${{ github.repository }} edit ${{ github.event.pull_request.number }} --add-assignee "${{ github.event.pull_request.user.login }}"
6 changes: 3 additions & 3 deletions .github/workflows/label-checker.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: label-checker

# Dependabot
# # Dependabot
# gh label create --force "dependencies" --description "Pull requests that update a dependency file" --color 0366D6
# gh label create --force "go" --description "Pull requests that update Go code" --color 16E2E2
# gh label create --force "github_actions" --description "Pull requests that update GitHub Actions code" --color 000000
# gh label create --force "docker" --description "Pull requests that update Docker code" --color 21CEFF

# Renovate
# # Renovate
# gh label create --force "renovate" --description "Renovate" --color 009485

# Commit prefix
# # Commit prefix
# gh label create --force "BREAKING CHANGE" --description "BREAKING CHANGES" --color FF0303
# gh label create --force "build" --description "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)" --color 5319E7
# gh label create --force "ci" --description "Changes to our CI configuration files and scripts (examples: CircleCi, SauceLabs)" --color 53C4EE
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/task-list-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ on:

jobs:
task-list-checker:
if: github.actor != 'dependabot[bot]'
if: github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]'
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
pull-requests: read
steps:
- uses: hakadoriya/github-actions-task-list-checker@main
- uses: hakadoriya/github-actions-task-list-checker@v0.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit dab27a7

Please sign in to comment.