【发布时间】:2022-07-18 11:47:41
【问题描述】:
在 GitHub Actions 中,我正在测试 actions-ecosystem/action-create-issue 操作。
此操作会创建一个自动 github-issue。
但是操作崩溃了,我一直收到这个错误:
触发此错误(并可用于重现该错误)的工作流 yaml 文件是以下代码:
name: Deploy to foo
on:
push:
branches: [develop]
jobs:
deploy-to-staging:
name: Deploy to Staging
permissions:
contents: 'read'
id-token: 'write'
runs-on: ubuntu-latest
steps:
- name: Create deploy issue
uses: actions-ecosystem/action-create-issue@v1
with:
github_token: ${{ secrets.github_token }}
title: Hello World
body: |
## Deployed to Staging Server
- [ ] Task-1
- [ ] Task-2
labels: |
deploy
staging
【问题讨论】:
标签: github-actions