diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 906c288a..11bd7cdd 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,13 +3,12 @@ updates: - package-ecosystem: "github-actions" directory: "/" schedule: - interval: weekly + interval: daily reviewers: - "nginxinc/kic" - - "ciarams87" - package-ecosystem: "docker" directory: "/docker" schedule: - interval: weekly + interval: daily reviewers: - "nginxinc/kic" diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index c69a646a..b4a8a9c0 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -16,6 +16,8 @@ categories: - title: '🔨 Maintenance' labels: - "chore" + - title: '⬆️ Dependencies' + labels: - "dependencies" version-resolver: major: @@ -53,11 +55,12 @@ autolabeler: - '/enhancement\/.+/' - '/feat\/.+/' - '/feature\/.+/' + title: + - '/feat/i' - label: 'dependencies' files: - 'go.mod' - 'go.sum' - - 'vendor*' branch: - '/deps\/.+/' template: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 570fde5b..651456fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,8 +27,8 @@ jobs: build: name: Build Client - runs-on: ubuntu-18.04 - if: + runs-on: ubuntu-20.04 + if: github.event.pull_request.head.repo.full_name == 'nginxinc/nginx-plus-go-client' || github.event_name == 'push' steps: @@ -59,7 +59,7 @@ jobs: notify: name: Notify - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 needs: build if: always() && github.ref == 'refs/heads/master' steps: @@ -73,8 +73,8 @@ jobs: echo "::set-output name=repo::$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 2)" - name: Send Notification uses: 8398a7/action-slack@v3 - if: - steps.check.outputs.status == 'failure' || + if: + steps.check.outputs.status == 'failure' || steps.check.outputs.status == 'cancelled' with: status: custom @@ -110,4 +110,4 @@ jobs: } env: GITHUB_TOKEN: ${{ github.token }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} \ No newline at end of file + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 49696bd1..0c5a06f7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,19 +17,17 @@ defaults: shell: bash env: - GOLANGCI_VERSION: 1.29 GOLANGCI_TIMEOUT: 10m0s jobs: lint: name: Lint - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - name: Checkout Repository uses: actions/checkout@v2 - name: Lint Code - uses: golangci/golangci-lint-action@v2.5.2 + uses: golangci/golangci-lint-action@v2 with: - version: 'v${{ env.GOLANGCI_VERSION }}' args: --timeout ${{ env.GOLANGCI_TIMEOUT }} --issues-exit-code=0 ./client/...