Skip to content

Initial commit for databrickslabs/sandbox/acceptance #30

Initial commit for databrickslabs/sandbox/acceptance

Initial commit for databrickslabs/sandbox/acceptance #30

name: acceptance
on:
pull_request:
types: [opened, synchronize]
permissions:
id-token: write
contents: read
pull-requests: write
jobs:
acceptance:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# - uses: azure/login@v1
# with:
# client-id: ${{ var.ARM_CLIENT_ID }}
# tenant-id: ${{ secrets.ARM_TENANT_ID }}
# subscription-id: ${{ secrets.ARM_SUBSCRIPTION_ID }}
# - name: Dump github context
# run: echo "$GITHUB_CONTEXT"
# env:
# GITHUB_CONTEXT: ${{ toJSON(github) }}
# - name: Dump env
# run: env | sort
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Acceptance
uses: databrickslabs/sandbox/acceptance@gh-action
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}