Skip to content

Commit

Permalink
workflow_call secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
ddabble committed Sep 25, 2023
1 parent f896152 commit 7aac07a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/_reusable_add-content-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,20 @@ on:
required: true
type: string
secrets:
ASDF:
HACKERSPACE_BOT_APP_ID:
description: "The App ID of a GitHub organization app with read and write access to repository contents, issues and pull requests, and organization projects"
required: true
type: string
HACKERSPACE_BOT_APP_PEM:
description: "A private key for the app with ID HACKERSPACE_BOT_APP_ID"
required: true
type: string

jobs:
add_content:
runs-on: ubuntu-latest
# Code based on https://docs.github.com/en/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions#example-workflow-authenticating-with-a-github-app
steps:
- name: Test Vars
run: |
echo '${{ secrets.ASDF }}' | sed 's/./& /g'
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
Expand Down

0 comments on commit 7aac07a

Please sign in to comment.