在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:maxkomarychev/octions开源软件地址:https://github.com/maxkomarychev/octions开源编程语言:JavaScript 99.8%开源软件介绍:OctionsWhat is an oction?Octokit + Action = Oction - it is a GitHub Action that exposes single REST API call from @octokit/routes APIExplore catalog for API relevant for every specific oction. Common API are listed below: Common inputs
Read input from fileIf value of the input beings with Example. This will pust output of on:
pull_request:
types:
- opened
- synchronize
jobs:
cloc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: npx cloc . > cloc.txt
- uses: maxkomarychev/octions/octions/issues/create-comment@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue_number: ${{ github.event.pull_request.number }}
body: FILE::cloc.txt Common outputs
CatalogExamplesClose every issue immediatelly once it is openedon:
issues:
types:
- opened
jobs:
close-issue:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: echo "${{ toJson(github.event) }}"
- uses: maxkomarychev/octions/octions/issues/update@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue_number: ${{ github.event.issue.number }}
state: closed
custom_outputs: |
user:data.user.login
- uses: maxkomarychev/octions/octions/issues/create-comment@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue_number: ${{ github.event.issue.number }}
body: You can't create issues here! |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论