From 93bd33aec4f84fa938dfe6644aa199e81e395a5e Mon Sep 17 00:00:00 2001 From: Mliveon Date: Thu, 17 Oct 2024 10:07:51 -0400 Subject: [PATCH] Delete .github/workflows directory --- .github/workflows/dependabot.yml | 35 ------------------------------- .github/workflows/release.yml | 24 --------------------- .github/workflows/sync-files.yml | 28 ------------------------- .github/workflows/sync-forks.yml | 36 -------------------------------- 4 files changed, 123 deletions(-) delete mode 100644 .github/workflows/dependabot.yml delete mode 100644 .github/workflows/release.yml delete mode 100644 .github/workflows/sync-files.yml delete mode 100644 .github/workflows/sync-forks.yml diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml deleted file mode 100644 index a271121..0000000 --- a/.github/workflows/dependabot.yml +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: Dependabot -on: pull_request - -permissions: - contents: write - -jobs: - test: - uses: ./.github/workflows/test.yml - dependabot: - needs: test - runs-on: ubuntu-latest - if: ${{ github.actor == 'dependabot[bot]' }} - env: - PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{secrets.SYNCED_GITHUB_TOKEN_REPO}} - steps: - - name: approve - run: gh pr review --approve "$PR_URL" - - name: merge - run: gh pr merge --auto --squash --delete-branch "$PR_URL" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index c3118a9..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Release -on: - push: - branches: [ master ] -jobs: - release: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }} - - name: Semantic Release - uses: cycjimmy/semantic-release-action@v3 - with: - semantic_version: 19 - extra_plugins: | - "@semantic-release/commit-analyzer" - "@semantic-release/changelog" - "@semantic-release/release-notes-generator@10.0.3" - "@semantic-release/git - "@semantic-release/github - env: - GH_TOKEN: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }} diff --git a/.github/workflows/sync-files.yml b/.github/workflows/sync-files.yml deleted file mode 100644 index a53648c..0000000 --- a/.github/workflows/sync-files.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Sync Files -on: - push: - branches: - - master - - main - schedule: - - cron: "0 14 * * MON" - workflow_dispatch: -jobs: - sync: - runs-on: ubuntu-latest - steps: - - name: Checkout Repository - uses: actions/checkout@master - - name: Run GitHub File Sync - uses: BetaHuhn/repo-file-sync-action@878d649c33c834dc1eff4c00f7fcf16bf281eb63 # v1.17.15 February 2022 - with: - GH_PAT: ${{ secrets.GOOGLEMAPS_BOT_REPO_TOKEN }} - GIT_EMAIL: "googlemaps-bot@google.com" - GIT_USERNAME: "googlemaps-bot" - COMMIT_PREFIX: "chore: " - OVERWRITE_EXISTING_PR: true - CONFIG_PATH: .github/sync-files.yml - BRANCH_PREFIX: file-sync - PR_LABELS: | - file-sync - automerge diff --git a/.github/workflows/sync-forks.yml b/.github/workflows/sync-forks.yml deleted file mode 100644 index 5403ac2..0000000 --- a/.github/workflows/sync-forks.yml +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: Sync Forks -on: - push: - branches: - - master - - main - schedule: - - cron: "*/30 * * * *" # every 30 minutes - workflow_dispatch: -jobs: - update_definitelytyped_fork: - runs-on: ubuntu-latest - steps: - - uses: TobKed/github-forks-sync-action@ed79e05ce1c32e2246452013b0c6fd65e2a0d35b - with: - github_token: ${{ secrets.GOOGLEMAPS_BOT_REPO_TOKEN }} - upstream_repository: DefinitelyTyped/DefinitelyTyped - target_repository: googlemaps/DefinitelyTyped - upstream_branch: master - target_branch: master - force: true - tags: true