diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 285aa9e57..7af8a4f3d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,8 +9,3 @@ updates: directory: "/" # Location of package manifests schedule: interval: "weekly" - # Maintain dependencies for GitHub Actions - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "daily" diff --git a/.github/workflows/updatecli.yaml b/.github/workflows/updatecli.yaml deleted file mode 100644 index 198c6b24e..000000000 --- a/.github/workflows/updatecli.yaml +++ /dev/null @@ -1,36 +0,0 @@ -name: updatecli -on: - workflow_dispatch: null - schedule: - # Every monday - - cron: '* * * * 1' - push: null - pull_request: null -jobs: - updatecli: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Setup updatecli - uses: updatecli/updatecli-action@v2 - - name: Diff - continue-on-error: true - run: | - updatecli diff --config ./updatecli/updatecli.d --values ./updatecli/values.yaml - env: - UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ## This step allows to generate a short-lived token which is allowed to modify GitHub Workflow files (that the default GITHUB_TOKEN cannot) - ## Please make sure that the 2 secrets are defined (usually at organization level, with a per-repository access) - - uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.0 - id: generate_token - if: github.ref == 'refs/heads/master' - with: - app_id: ${{ secrets.JENKINS_ADMIN_APP_ID }} - private_key: ${{ secrets.JENKINS_ADMIN_APP_PRIVKEY }} - - name: Apply - if: github.ref == 'refs/heads/master' - run: | - updatecli apply --config ./updatecli/updatecli.d --values ./updatecli/values.yaml - env: - UPDATECLI_GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} diff --git a/updatecli/values.yaml b/updatecli/values.yaml deleted file mode 100644 index 97422f8bb..000000000 --- a/updatecli/values.yaml +++ /dev/null @@ -1,8 +0,0 @@ -github: - user: "Jenkins Infra Bot (updatecli)" - email: "60776566+jenkins-infra-bot@users.noreply.github.com" - username: "jenkins-infra-bot" - token: "UPDATECLI_GITHUB_TOKEN" - branch: "master" - owner: "jenkins-infra" - repository: "pipeline-library"