当然,这位作者也是把这个非常骚的Action做成了一个插件,插件的地址是:https://github.com/marketplace/actions/no-free-usage-action ,使用起来非常简单。 以下是我简单使用的脚本案例: 代码语言:javascript 代码运行次数:0 运行 AI代码解释 name:No Free usage issue checkeron:issues:types:[opened,reopened]jobs:...
name: buildx on: push: branches: [ master ] jobs: hello: runs-on: ubuntu-latest steps: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - uses: shaowenchen/debugger-action@v1 name: debugger timeout-minutes: 30 continue-on-error: true with: frp_server_addr: ${{ ...
JavaScript 1.1k 410 typescript-action Public template Create a TypeScript Action with tests, linting, workflow, publishing, and versioning TypeScript 2.2k 525 labeler Public An action for automatically labelling pull requests TypeScript 2.2k 441 Repositories Loading Type Language Sort Show...
A GitHub Action that simplifies using HashiCorp Vault™ secrets as build variables. vault github-actions github-actions-javascript secrets-engine multiple-secrets vault-action Updated Apr 3, 2023 JavaScript tj-actions / eslint-changed-files Star 51 Code Issues Pull requests Github action to ...
name:AworkflowformyHelloWorldfileon:pushjobs:build:name:Helloworldactionruns-on:ubuntu-lateststeps:- uses:actions/checkout@v1- uses:./action-awith:MY_NAME:"Mona" 請注意on:屬性。 這是指定此工作流程執行時間的觸發程序。 這會在您的存放庫有推送事件時觸發執行。 您可以指定單一事件...
出参: outputs 下的字段,用于定义出参字段 runs: 用于定义运行时相关的配置,JavaScript action 和Docker container action 有不同的配置。这篇文章主要介绍的是 JavaScript action 样式相关: branding 字段主要用于上架到 Github Marketplace 上的icon 和颜色。 这样我们就可以定义自己的元数据 action.yml: ...
简单来说就是可以在我们提交代码到远程仓库后,gitHub Actions可以自动触发,并执行我们事先设定的动作(action)。 这些动作指的是一系列的运行流程,而且gitHub Actions有一个actions的市场,github用户可以在那里发布自己写的action,也可以使用其他用户发布的action。
JavaScript constcore =require('@actions/core');constgithub =require('@actions/github');try{// `who-to-greet` input defined in action metadata fileconstnameToGreet = core.getInput('who-to-greet');console.log(`Hello${nameToGreet}!`);consttime = (newDate()).toTimeString(); core.setOutpu...
name:AworkflowformyHelloWorldfileon:pushjobs:build:name:Helloworldactionruns-on:ubuntu-lateststeps:- uses:actions/checkout@v1- uses:./action-awith:MY_NAME:"Mona" 请注意on:属性。 这是一个用于指定此工作流运行时间的触发器。 在此处,它会在有到存储库的推送事件时触发运行。 你可以...
JavaScript constcore =require('@actions/core');constgithub =require('@actions/github');try{// `who-to-greet` input defined in action metadata fileconstnameToGreet = core.getInput('who-to-greet');console.log(`Hello${nameToGreet}!`);consttime = (newDate()).toTimeString(); core.setOutpu...