From 107c6d507e2ce9ce3bec9a7468f973fb26f7df89 Mon Sep 17 00:00:00 2001 From: AlexandreBrg Date: Sun, 16 Apr 2023 11:31:52 +0200 Subject: [PATCH] breaking: bump to 1.0.0 with new models Signed-off-by: AlexandreBrg --- .github/release-drafter.yml | 2 +- .github/workflows/clean-cache.yml | 33 --------------------------- .github/workflows/release-drafter.yml | 21 ----------------- CODEOWNERS | 1 + 4 files changed, 2 insertions(+), 55 deletions(-) delete mode 100644 .github/workflows/clean-cache.yml create mode 100644 CODEOWNERS diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 88fa5ac..08981d4 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -53,7 +53,7 @@ autolabeler: - '/.*(\[docs\]|docs\(.*\):).*/' - label: 'major' title: - - '/.*\[breaking\].*/' + - '/.*(\[breaking\]|breaking:).*/' replacers: - search: '/\[feat\]/g' diff --git a/.github/workflows/clean-cache.yml b/.github/workflows/clean-cache.yml deleted file mode 100644 index 3f0a794..0000000 --- a/.github/workflows/clean-cache.yml +++ /dev/null @@ -1,33 +0,0 @@ -# Because we don't have unlimited cache for the organization, we expect the cache -# to be cleared after a PR is merged -name: On Closed PR - Cache Cleanup -on: - pull_request: - types: - - closed - -jobs: - cleanup: - runs-on: ubuntu-22.04 - steps: - - name: Check out code - uses: actions/checkout@v3 - - - name: Cleanup - run: | - gh extension install actions/gh-actions-cache - - REPO=${{ github.repository }} - BRANCH="refs/pull/${{ github.event.pull_request.number }}/merge" - echo "Fetching list of cache key" - cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 ) - ## Setting this to not fail the workflow while deleting cache keys. - set +e - echo "Deleting caches..." - for cacheKey in $cacheKeysForPR - do - gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm - done - echo "Done" - env: - GH_TOKEN: ${{ secrets.RIK_CI_RW }} diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index b9072f3..05a8302 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -20,24 +20,3 @@ jobs: id: drafter env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - bump_firepilot_version: - needs: [update_release_draft] - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Bump version - run: | - sed -i -e 's/^version = .*/version = "${{ needs.update_release_draft.outputs.version }}"/' firepilot/Cargo.toml - - - name: Commit changes - run: | - git config --local user.email "125324459+abrgBot@users.noreply.github.com" - git config --local user.name "abrgBot" - git add firepilot/Cargo.toml - git commit -m "[skip ci] Bump firepilot version to ${{ needs.update_release_draft.outputs.version }}" - git push - diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..e3143f2 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1 @@ +* @AlexandreBrg \ No newline at end of file