Skip to content

Support Hiding Tokens #368

Support Hiding Tokens

Support Hiding Tokens #368

Workflow file for this run

name: Dependabot Automerge
on: pull_request
jobs:
worker:
runs-on: ubuntu-latest
services:
devnet:
image: shardlabs/starknet-devnet:latest-seed0
ports:
- 5050:5050
if: github.actor == 'dependabot[bot]'
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: "16"
cache: "yarn"
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn test
- run: xvfb-run --auto-servernum yarn test:e2e
- run: yarn --cwd packages/dapp export
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.PAT }}
script: |-
await github.rest.pulls.createReview({
owner: context.payload.repository.owner.login,
repo: context.payload.repository.name,
pull_number: context.payload.pull_request.number,
event: 'APPROVE'
})
await exec.exec("sleep 2")
await github.rest.pulls.merge({
owner: context.payload.repository.owner.login,
repo: context.payload.repository.name,
pull_number: context.payload.pull_request.number,
merge_method: 'squash'
})