Skip to content

feat: (payments) Add hclog logger adapter for use in connector plugins #345

feat: (payments) Add hclog logger adapter for use in connector plugins

feat: (payments) Add hclog logger adapter for use in connector plugins #345

Workflow file for this run

name: Default
on:
merge_group:
push:
branches:
- releases/*
- main
pull_request:
types: [ assigned, opened, synchronize, reopened, labeled ]
permissions:
contents: write
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
Ci:
runs-on: "ubuntu-latest"
steps:
- uses: 'actions/checkout@v4'
with:
fetch-depth: 0
- uses: earthly/actions-setup@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
version: "latest" # or pin to an specific version, e.g. "0.8.1"
- name: Setup Env
uses: ./.github/actions/env
- run: >
earthly
--allow-privileged
--secret SPEAKEASY_API_KEY=$SPEAKEASY_API_KEY
${{ contains(github.event.pull_request.labels.*.name, 'no-cache') && '--no-cache' || '' }}
+ci
env:
SPEAKEASY_API_KEY: ${{ secrets.SPEAKEASY_API_KEY }}
- name: Get changed files
id: changed-files
shell: bash
run: |
hasChanged=$(git status --porcelain)
if (( $(echo ${#hasChanged}) != 0 )); then
git status
echo "There are changes in the repository"
exit 1
fi
- name: Validate Dependabot PR
if: github.event.pull_request.user.login == 'dependabot[bot]'
run: gh pr review $PR_URL --approve -b "Auto approve dependencies bump PR"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}