Skip to content

Merge pull request #11 from celo-org/pputman/test-branch-restrictions #38

Merge pull request #11 from celo-org/pputman/test-branch-restrictions

Merge pull request #11 from celo-org/pputman/test-branch-restrictions #38

name: Testing Github Action
on:
pull_request:
paths:
- 'testing-action/**'
- '.github/workflows/testing-action.yaml'
push:
paths:
- 'testing-action/**'
- '.github/workflows/testing-action.yaml'
workflow_dispatch:
jobs:
release:
runs-on: [linux]
permissions:
contents: write
id-token: write
pull-requests: write
repository-projects: write
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Akeyless Get Secrets
id: get_auth_token
uses:
docker://us-west1-docker.pkg.dev/devopsre/akeyless-public/akeyless-action:latest
with:
api-url: https://api.gateway.akeyless.celo-networks-dev.org
access-id: p-kf9vjzruht6l
dynamic-secrets: '{"/dynamic-secrets/keys/github/docs/contents=write,pull_requests=write":"NPM_TOKEN"}'
Build-Container-dev:
uses: celo-org/reusable-workflows/.github/workflows/container-cicd.yaml@v1.14.2
if: github.ref != 'refs/heads/main'
with:
workload-id-provider: ${{ vars.WORKLOAD_ID_PROVIDER_NON_MAIN }}
service-account: patrick-testing-ro@clabs-secrets-and-permissions.iam.gserviceaccount.com
artifact-registry: ${{ vars.DEV_IMAGE_REPO }}/testing-action
tags: testing
context: ./testing-action
trivy: false