From 341e5a6aeedb4d850ed12b2918d3f492bedbf6a4 Mon Sep 17 00:00:00 2001 From: Sir Mergealot <51328680+mergealot@users.noreply.github.com> Date: Mon, 22 Jul 2024 10:03:44 +0200 Subject: [PATCH] feat(github): rebase workflow [pulumi] - remove --- .github/workflows/rebase.yml | 39 ------------------------------------ 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/rebase.yml diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml deleted file mode 100644 index 304d0f3..0000000 --- a/.github/workflows/rebase.yml +++ /dev/null @@ -1,39 +0,0 @@ -# This file was added by Pulumi and should not be edited manually. To edit the contents of this file, please go -# to the github-management project in moneymeets-pulumi and call `pulumi up` after changing the template file. - -name: Rebase - -on: - issue_comment: - types: [ created ] - -jobs: - rebase: - # https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment - if: github.event.issue.pull_request && github.event.comment.body == '/rebase' - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: read - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - # https://docs.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token - ssh-key: '${{ secrets.WORKFLOW_DEPLOY_KEY }}' - show-progress: false - - - name: Checkout PR - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - gh pr checkout ${{ github.event.issue.number }} - - - name: Rebase and push - run: | - git config user.name 'Sir Mergealot' - git config user.email 'mergealot@moneymeets.com' - - GIT_SEQUENCE_EDITOR=true git rebase --interactive --autosquash origin/master - - git push -u origin HEAD --force-with-lease