Skip to content

chore(deps): update googleapis/release-please-action action to v4.3.0 #42

chore(deps): update googleapis/release-please-action action to v4.3.0

chore(deps): update googleapis/release-please-action action to v4.3.0 #42

---
# GitHub Actions workflow to automatically push PRs and issues to the Schrödinger's Stack project board.
#
# IMPORTANT: This workflow is called by other workflows in the organization's repositories and it is centralized here
# in order to be easily maintained. Because of this, please make sure you're not introducing any breaking changes when
# modifying this workflow.
name: "pr-issues-project"
on:
# Run when called by other workflows.
workflow_call:
secrets:
SCHTACK_MAINTAINER_APP_ID:
description: "App ID of the GitHub app with permissions to add issues and PRs to the Schrödinger's Stack project board"
required: true
SCHTACK_MAINTAINER_PRIVATE_KEY:
description: "PEM private key of the GitHub app with permissions to add issues and PRs to the Schrödinger's Stack project board"
required: true
# Run when a new issue or PR is opened or reopened in this repository.
issues:
types:
- opened
- reopened
pull_request:
types:
- opened
- reopened
jobs:
pr-issues-project:
runs-on: ubuntu-latest
steps:
- name: Generate authentication token from GitHub App
id: app_token
uses: actions/create-github-app-token@v2.0.2
with:
app-id: ${{ secrets.SCHTACK_MAINTAINER_APP_ID }}
private-key: ${{ secrets.SCHTACK_MAINTAINER_PRIVATE_KEY }}
- name: Add PR or issue to the project board
uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/schrodingers-stack/projects/1/
github-token: ${{ steps.app_token.outputs.token }}