Skip to content

Commit

Permalink
📝 Add updated header to generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Jan 8, 2024
1 parent e328be7 commit 81e6b41
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/helpers/workflows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,22 @@ export const getUptimeMonitorVersion = async () => {
return release;
};

const introComment = async () => `# This file was generated by upptime/uptime-monitor@${await getUptimeMonitorVersion()}
#
const introComment = async () => `#
# ===============================
# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the template updates (daily)
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs`;
# Your changes will be overwritten when the Upptime template updates (by default, weekly)
# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly.
#
# 🔼 Upptime @${await getUptimeMonitorVersion()}
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
# * Source: https://github.com/upptime/upptime
# * Docs and more: https://upptime.js.org
# * More by Anand Chowdhary: https://anandchowdhary.com
#
`;

export const graphsCiWorkflow = async () => {
const config = await getConfig();
Expand Down

0 comments on commit 81e6b41

Please sign in to comment.