You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.
Propose alternative solution for issue #65: Set created date in the preamble immediately before merging new EIP pull requests
Proposal:
add an assertion in: EIP-Bot/src/modules/assertions/ that immediately before merging, warns author to include created date in Preamble and displays the created_at date for the repo:
/*Issue #65, Originally from #55
Immediately before merging (IMO, ideally in the merge commit itself) set the created date in the preamble.
Creator: SamWilsn
to be included in /src/modules/assertions */
import { context, getOctokit } from "@actions/github";
import {
GITHUB_TOKEN,
GithubSelf,
PR,
} from "src/domain";
import _ from "lodash";
export const getCreatedAt = () => {
const github = getOctokit(GITHUB_TOKEN).rest;
console.log(Warning: Please ensure to include in template PR Created date: +context.payload?.pull_request?.created_at);
Propose alternative solution for issue #65: Set created date in the preamble immediately before merging new EIP pull requests
Proposal:
add an assertion in: EIP-Bot/src/modules/assertions/ that immediately before merging, warns author to include created date in Preamble and displays the created_at date for the repo:
/*Issue #65, Originally from #55
Immediately before merging (IMO, ideally in the merge commit itself) set the created date in the preamble.
Creator: SamWilsn
to be included in /src/modules/assertions */
import { context, getOctokit } from "@actions/github";
import {
GITHUB_TOKEN,
GithubSelf,
PR,
} from "src/domain";
import _ from "lodash";
export const getCreatedAt = () => {
const github = getOctokit(GITHUB_TOKEN).rest;
console.log(
Warning: Please ensure to include in template PR Created date:
+context.payload?.pull_request?.created_at);};
// Copyright and related rights waived via CC0.
The text was updated successfully, but these errors were encountered: