From 4ed92496f41b64b7e4f82c2e64ad03bff921f756 Mon Sep 17 00:00:00 2001 From: 0xldr Date: Fri, 15 Mar 2024 15:04:16 +0000 Subject: [PATCH] Delete upload-delegates.yml --- .github/workflows/upload-delegates.yml | 38 -------------------------- 1 file changed, 38 deletions(-) delete mode 100644 .github/workflows/upload-delegates.yml diff --git a/.github/workflows/upload-delegates.yml b/.github/workflows/upload-delegates.yml deleted file mode 100644 index 48343102b..000000000 --- a/.github/workflows/upload-delegates.yml +++ /dev/null @@ -1,38 +0,0 @@ -on: - push: - branches: - - master - paths: - - governance/delegates/**/* - - '!governance/delegates/meta/delegates.json' -jobs: - upload_delegates: - runs-on: ubuntu-latest - name: Parses all the delegates and uploads all to IPFS, creating a pull request with the new file. - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.ref }} - - name: Upload - id: upload - uses: makerdao-dux/github-action-deploy-delegates@v1.1.17 - with: - delegates-folder: 'governance/delegates' - tags-file: 'governance/delegates/meta/tags.json' - infura-id: ${{ secrets.INFURA_ID }} - infura-secret: ${{ secrets.INFURA_KEY }} - output-file: 'governance/delegates/meta/delegates.json' - # Use the output from the `upload` step - - name: Get the output hash - run: echo "The IPFS hash was ${{ steps.upload.outputs.hash }}" - - name: Update pull request with delegates changes. - uses: EndBug/add-and-commit@v9 # You can change this to use a specific version. - with: - author_name: github-actions[bot] - author_email: github-actions[bot]@users.noreply.github.com - message: 'Added delegates aggregated file' - add: 'governance/delegates/meta/delegates.json' - fetch: false - push: false - - name: Create Pull Request - uses: peter-evans/create-pull-request@v4