Skip to content

chore(deps): bump github.com/cli/oauth from 1.2.0 to 1.2.1 #16

chore(deps): bump github.com/cli/oauth from 1.2.0 to 1.2.1

chore(deps): bump github.com/cli/oauth from 1.2.0 to 1.2.1 #16

name: Update vendorHash
on: pull_request
jobs:
dependabot:
runs-on: ubuntu-slim
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- uses: actions/create-github-app-token@v2
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: actions/checkout@v5
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}
- name: Install Nix
uses: cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
nix_path: nixpkgs=channel:nixos-unstable
- name: Update checksum
env:
HEAD_REF: ${{ github.head_ref }}
run: |
./.github/workflows/update-vendor-hash.sh
# git push if we have a diff
if [[ -n $(git diff) ]]; then
git add nix/vendorHash.txt
git config --global user.email "<49699333+dependabot[bot]@users.noreply.github.com>"
git config --global user.name "dependabot[bot]"
git commit -m "update vendorHash"
git push origin HEAD:"${HEAD_REF}"
fi