Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
ci: add actions
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Oct 3, 2023
1 parent 4d01fef commit 650ec16
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 14 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ jobs:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if:
github.actor == 'taiga-family-bot' && (contains(github.head_ref, 'release/') || contains(github.head_ref,
'renovate/'))
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/auto/approve/[email protected]
if: env.TAIGA_FAMILY_BOT_IS_AUTHOR == 'true'
with:
token1: ${{ secrets.GITHUB_TOKEN }}
token2: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }}
6 changes: 2 additions & 4 deletions .github/workflows/auto-author-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ jobs:
name: PR author as an assignee
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.6.0
- uses: actions/checkout@v4.1.0
- uses: taiga-family/ci/actions/setup/[email protected]

- name: Auto assign
- uses: toshimaru/[email protected]
if: env.IS_OWNER_MODE == 'true'
uses: toshimaru/[email protected]
with:
repo-token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
2 changes: 1 addition & 1 deletion .github/workflows/auto-cleanup-caches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3.6.0
- uses: actions/checkout@v4.1.0
- uses: taiga-family/ci/actions/auto/[email protected]
if: github.event_name == 'push'
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.6.0
- uses: taiga-family/ci/actions/security/dependency-review@1.11.1
- uses: actions/checkout@v4.1.0
- uses: taiga-family/ci/actions/security/dependency-review@1.20.0
3 changes: 2 additions & 1 deletion .github/workflows/auto-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ jobs:
name: Label when approved
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.6.0
- uses: actions/checkout@v4.1.0
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/auto/[email protected]
with:
approvals: 1
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/auto-remove-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ jobs:
remove_label:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.6.0
- uses: taiga-family/ci/actions/auto/remove-label@1.11.1
- uses: actions/checkout@v4.1.0
- uses: taiga-family/ci/actions/auto/remove-label@1.20.0

0 comments on commit 650ec16

Please sign in to comment.