From a3417fada3c603ef5b3e0820d695b684661fb4d5 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 6 Sep 2023 17:52:38 -0400 Subject: actions: make flake-update a reusable workflow --- .github/actions/flake-update/action.yaml | 36 -------------------------------- 1 file changed, 36 deletions(-) delete mode 100644 .github/actions/flake-update/action.yaml (limited to '.github/actions/flake-update') diff --git a/.github/actions/flake-update/action.yaml b/.github/actions/flake-update/action.yaml deleted file mode 100644 index ac3e3b7..0000000 --- a/.github/actions/flake-update/action.yaml +++ /dev/null @@ -1,36 +0,0 @@ -name: "update flake inputs" -description: "wrapper around DeterminateSystems/update-flake-lock" -inputs: - commit-msg: - required: true - github-token: - description: "github read token for increasing rate limits" - required: true - default: "" - inputs: - description: "flake inputs to update" - required: false - default: "" -runs: - using: "composite" - steps: - - name: install nix - uses: cachix/install-nix-action@v22 - with: - github_access_token: ${{ inputs.github-token }} - - - name: run update-flake-lock - uses: DeterminateSystems/update-flake-lock@v19 - id: update - with: - commit-msg: ${{ inputs.commit-msg }} - inputs: ${{ inputs.inputs }} - pr-title: ${{ inputs.commit-msg }} - token: ${{ inputs.github-token }} - - - name: auto-merge pull request - shell: bash - run: gh pr merge --auto --rebase "$PR_ID" - env: - GITHUB_TOKEN: ${{ inputs.github-token }} - PR_ID: ${{ steps.update.outputs.pull-request-number }} -- cgit v1.2.3