github workflow experiment
This commit is contained in:
parent
7240558fd8
commit
18c361ce7f
21
.github/workflows/rest-description.yml
vendored
Normal file
21
.github/workflows/rest-description.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: Toy with issue description
|
||||
on:
|
||||
issues:
|
||||
types: labeled
|
||||
|
||||
jobs:
|
||||
toy-desc:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Toy with issue description
|
||||
uses: actions/github-script@v4.0.2
|
||||
with:
|
||||
script: |
|
||||
const title = `${{ github.event.issue.title }} !`
|
||||
github.issues.update({
|
||||
issue_number: context.issue.number,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
title: title
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user