Skip to content

Commit 6a8cc82

Browse files
authored
fetch projects
1 parent 016310f commit 6a8cc82

File tree

16 files changed

+5833
-709
lines changed

16 files changed

+5833
-709
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
- uses: actions/checkout@v2
2222
- uses: ./
2323
with:
24-
milliseconds: 1000
24+
token: ${{secret.REPO_GITHUB_PAT}}

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Use this template to bootstrap the creation of a TypeScript action.:rocket:
88

9-
This template includes compilation support, tests, a validation workflow, publishing, and versioning guidance.
9+
This template includes compilation support, tests, a validation workflow, publishing, and versioning guidance.
1010

1111
If you are new, there's also a simpler introduction. See the [Hello World JavaScript Action](https://github.com/actions/hello-world-javascript-action)
1212

@@ -16,7 +16,7 @@ Click the `Use this Template` and provide the new repo details for your action
1616

1717
## Code in Main
1818

19-
Install the dependencies
19+
Install the dependencies
2020
```bash
2121
$ npm install
2222
```
@@ -26,7 +26,7 @@ Build the typescript and package it for distribution
2626
$ npm run build && npm run package
2727
```
2828

29-
Run the tests :heavy_check_mark:
29+
Run the tests :heavy_check_mark:
3030
```bash
3131
$ npm test
3232

@@ -55,9 +55,9 @@ import * as core from '@actions/core';
5555
...
5656

5757
async function run() {
58-
try {
58+
try {
5959
...
60-
}
60+
}
6161
catch (error) {
6262
core.setFailed(error.message);
6363
}
@@ -70,7 +70,7 @@ See the [toolkit documentation](https://github.com/actions/toolkit/blob/master/R
7070

7171
## Publish to a distribution branch
7272

73-
Actions are run from GitHub repos so we will checkin the packed dist folder.
73+
Actions are run from GitHub repos so we will checkin the packed dist folder.
7474

7575
Then run [ncc](https://github.com/zeit/ncc) and push the results:
7676
```bash
@@ -82,7 +82,7 @@ $ git push origin releases/v1
8282

8383
Note: We recommend using the `--license` option for ncc, which will create a license file for all of the production node modules used in your project.
8484

85-
Your action is now published! :rocket:
85+
Your action is now published! :rocket:
8686

8787
See the [versioning documentation](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md)
8888

action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ name: 'Your name here'
22
description: 'Provide a description here'
33
author: 'Your name or organization here'
44
inputs:
5-
milliseconds: # change this
5+
token:
66
required: true
7-
description: 'input description here'
8-
default: 'default value if applicable'
7+
description: 'GitHub token for API requests'
98
runs:
109
using: 'node12'
1110
main: 'dist/index.js'
11+
on:
12+
schedule:
13+
- cron: '* * * * *'

0 commit comments

Comments
 (0)