Compare commits

...

16 Commits

Author SHA1 Message Date
Ben De St Paer-Gotch 50a5d90d4c Update README.md 2025-06-02 10:30:48 +01:00
Ben De St Paer-Gotch 335e505279 Update README.md 2025-06-02 10:28:56 +01:00
Ben De St Paer-Gotch 31ce3d36fe Update README.md 2025-06-02 10:26:52 +01:00
Nick Alteen d94ed8e502 Merge branch 'master' 2025-02-19 12:13:48 -05:00
Nick Alteen 6de062d9b6 Merge pull request #16 from simonw/patch-1
Demonstrate |- multiline YAML string in README
2025-02-19 12:10:44 -05:00
Nick Alteen 41ddf9c831 Merge pull request #36 from tacaswell/doc_complete_example
DOC: adjust the example to show a full yaml file
2024-02-22 12:02:54 -05:00
Nick Alteen fe1cfc10c8 Merge branch 'main' into doc_complete_example 2024-02-22 12:02:46 -05:00
Nick Alteen de709c3f9f Merge pull request #75 from Alirezaaraby/patch-2
Update README.md
2024-02-22 11:54:34 -05:00
Nick Alteen c1f2042186 Merge pull request #274 from TheGuptaEmpire/first-contributor
Installed @actions/core
2024-02-22 11:52:16 -05:00
Allan Guigou 34f15e814f Merge pull request #288 from actions/allanguigou/bump-minor-version
Bump Version to 1.3.0
2023-11-29 09:07:43 -05:00
Allan Guigou 3c71ce7302 1.3.0 2023-11-29 14:03:25 +00:00
Allan Guigou 001cc8d0fc Merge pull request #287 from actions/bump-node-to-v18
Update base image to node:20.10-buster-slim
2023-11-29 08:58:08 -05:00
SG 0ae396c32e installed @actions/core 2023-09-25 22:45:46 +05:30
Alirezaarabi 668eef3c29 Update README.md 2022-04-07 04:47:22 -07:00
Thomas A Caswell 6dc4929aa5 DOC: adjust the example to show a full yaml file 2020-12-22 17:20:57 -05:00
Simon Willison 8c5a0e4aad Demonstrate |- multiline YAML string in README 2019-11-27 15:32:50 -08:00
7 changed files with 59 additions and 24 deletions
+1
View File
@@ -25,3 +25,4 @@ jobs:
If you are fixing a bug, please reference the issue number in the description.
If you are implementing a feature request, please check with the maintainers that the feature will be accepted first.
+1 -1
View File
@@ -4,4 +4,4 @@ COPY . .
RUN npm install --production
ENTRYPOINT ["node", "/lib/main.js"]
ENTRYPOINT ["node", "/lib/main.js"]
+38 -8
View File
@@ -2,19 +2,49 @@
An action for filtering pull requests and issues from first-time contributors.
# Usage
### Note
Thank you for your interest in this GitHub action, however, right now we are not taking contributions.
We continue to focus our resources on strategic areas that help our customers be successful while making developers' lives easier. While GitHub Actions remains a key part of this vision, we are allocating resources towards other areas of Actions and are not taking contributions to this repository at this time. The GitHub public roadmap is the best place to follow along for any updates on features were working on and what stage theyre in.
We are taking the following steps to better direct requests related to GitHub Actions, including:
1. We will be directing questions and support requests to our [Community Discussions area](https://github.com/orgs/community/discussions/categories/actions)
2. High Priority bugs can be reported through Community Discussions or you can report these to our support team https://support.github.com/contact/bug-report.
3. Security Issues should be handled as per our [security.md](security.md)
We will still provide security updates for this project and fix major breaking changes during this time.
You are welcome to still raise bugs in this repo.
## Usage
See [action.yml](action.yml)
```yaml
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: '# Message with markdown.\nThis is the message that will be displayed on users' first issue.'
pr-message: 'Message that will be displayed on users' first pr. Look, a `code block` for markdown.'
name: Greetings
on: [pull_request, issues]
jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
# Message with markdown.
This is the message that will be displayed on users' first issue.
pr-message: |
Message that will be displayed on users' first pr.
Look, a `code block` for markdown.
```
# License
## License
The scripts and documentation in this project are released under the [MIT License](LICENSE)
+1
View File
@@ -12,3 +12,4 @@ inputs:
runs:
using: 'docker'
image: 'Dockerfile'
+5 -5
View File
@@ -1,14 +1,14 @@
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
var __createBinding = (this && this.__createBinding) || (Object.create ? (function (o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
}) : (function (o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function (o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
}) : function (o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "first-interaction-action",
"version": "1.2.0",
"version": "1.3.0",
"description": "An action for greeting first time contributors.",
"main": "lib/main.js",
"scripts": {
@@ -43,4 +43,4 @@
"ts-jest": "^24.0.2",
"typescript": "^3.5.1"
}
}
}
+11 -8
View File
@@ -2,8 +2,8 @@
"compilerOptions": {
/* Basic Options */
// "incremental": true, /* Enable incremental compilation */
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
// "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
@@ -11,8 +11,8 @@
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
// "sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "./lib", /* Redirect output structure to the directory. */
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
"outDir": "./lib", /* Redirect output structure to the directory. */
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "composite": true, /* Enable project compilation */
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
// "removeComments": true, /* Do not emit comments to output. */
@@ -22,8 +22,8 @@
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
/* Strict Type-Checking Options */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */
// "strictNullChecks": true, /* Enable strict null checks. */
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
// "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
@@ -45,7 +45,7 @@
// "typeRoots": [], /* List of folders to include type definitions from. */
// "types": [], /* Type declaration files to be included in compilation. */
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
@@ -59,5 +59,8 @@
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
},
"exclude": ["node_modules", "**/*.test.ts"]
"exclude": [
"node_modules",
"**/*.test.ts"
]
}