Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build_push_concheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ secrets.GH_USERNAME }}
password: ${{ secrets.GH_TOKEN }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Build and push concheck
uses: docker/build-push-action@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_push_controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ secrets.GH_USERNAME }}
password: ${{ secrets.GH_TOKEN }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Build and push bundle
uses: docker/build-push-action@v2
with:
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ secrets.GH_USERNAME }}
password: ${{ secrets.GH_TOKEN }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Build and push controller
uses: docker/build-push-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_push_daemon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ secrets.GH_USERNAME }}
password: ${{ secrets.GH_TOKEN }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Build and push daemon
uses: docker/build-push-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_push_kbuilder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ secrets.GH_USERNAME }}
password: ${{ secrets.GH_TOKEN }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/commit-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: commit-lint
on:
pull_request:

permissions:
contents: read
pull-requests: read
permissions: read-all

jobs:
commitlint:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/daemon_unittest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
- cni/**
- Makefile

permissions: read-all

jobs:
daemon-test:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
pull_request:
push:

permissions: read-all

env:
GOLANGCI_LINT_VERSION: v1.64.8

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ on:
- ./*/go.mod
- ./*/src/go.mod

permissions: read-all

jobs:
scale-test:
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/unittest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ on:
- ./*/go.mod
- ./*/src/go.mod

jobs:
permissions: read-all

jobs:
controller-test:
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/version-update.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Automated Version Update"
name: "Create Version Update PR"

permissions:
contents: write
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.GHCR_TOKEN }}

- name: Configure Git
run: |
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
if: steps.check_changes.outputs.changes == 'true'
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.GHCR_TOKEN }}
branch: chore/update-version-${{ env.NEW_VERSION }}
base: main
delete-branch: true
Expand Down
8 changes: 8 additions & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
##############################################################
#
# List of approvers/reviewers for Multi-NIC CNI project
#
##############################################################

# All files in workflows folder must be approved by listed active maintainers.
.github/workflows/* @sunya-ch @tatsuhirochiba @chcost
Loading