Skip to content

Fixed not being able to update node taints #6564

Fixed not being able to update node taints

Fixed not being able to update node taints #6564

Workflow file for this run

name: gh-project-integration
on:
pull_request_target:
types: [ opened, reopened, edited, closed ]
jobs:
rancher_gh_project:
permissions:
issues: write
pull-requests: write
repository-projects: write
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Read secrets
uses: rancher-eio/read-vault-secrets@main
with:
secrets: |
secret/data/github/repo/${{ github.repository }}/github/app-credentials appId | APP_ID ;
secret/data/github/repo/${{ github.repository }}/github/app-credentials privateKey | APP_PEM
- name: Generate Token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ env.APP_ID }}
private-key: ${{ env.APP_PEM }}
- name: script
env:
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
PR_PROJECT: ${{ secrets.PR_PROJECT }}
run: node .github/workflows/scripts/pr-gh-project.js