From dca9fd9f500c758fe90f00506ae76aa0d8794a2b Mon Sep 17 00:00:00 2001 From: Nora Shapiro Date: Thu, 12 Sep 2024 15:38:42 -0700 Subject: [PATCH] can both workflows access it from the config yml? --- .circleci/config.yml | 4 ++++ .github/workflows/api.yml | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 46a3c9f..2d88ed5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,6 +3,10 @@ version: 2.1 orbs: codecov: codecov/codecov@4.0.1 +permissions: + id-token: write # This is required for requesting the JWT + contents: read # This is required for actions/checkout + jobs: test-api: docker: diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index 34f89aa..221c3b7 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -2,10 +2,6 @@ name: API workflow on: [push, pull_request] -permissions: - id-token: write # This is required for requesting the JWT - contents: read # This is required for actions/checkout - jobs: build: runs-on: ubuntu-latest