Skip to content

Commit

Permalink
🐛 Revert to GH_PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Mar 3, 2021
1 parent 4f4c93b commit de26db3
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions src/helpers/workflows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ jobs:
uses: actions/[email protected]
with:
ref: \${{ github.head_ref }}
token: \${{ secrets.GITHUB_TOKEN }}
token: \${{ secrets.GH_PAT }}
- name: Generate graphs
uses: upptime/uptime-monitor@${await getUptimeMonitorVersion()}
with:
command: "graphs"
env:
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: \${{ secrets.GH_PAT }}
`;
};

Expand All @@ -87,13 +87,13 @@ jobs:
uses: actions/[email protected]
with:
ref: \${{ github.head_ref }}
token: \${{ secrets.GITHUB_TOKEN }}
token: \${{ secrets.GH_PAT }}
- name: Update response time
uses: upptime/uptime-monitor@${await getUptimeMonitorVersion()}
with:
command: "response-time"
env:
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: \${{ secrets.GH_PAT }}
SECRETS_CONTEXT: \${{ toJson(secrets) }}
`;
};
Expand Down Expand Up @@ -122,41 +122,41 @@ jobs:
uses: actions/[email protected]
with:
ref: \${{ github.head_ref }}
token: \${{ secrets.GITHUB_TOKEN }}
token: \${{ secrets.GH_PAT }}
- name: Update template
uses: upptime/uptime-monitor@${await getUptimeMonitorVersion()}
with:
command: "update-template"
env:
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: \${{ secrets.GH_PAT }}
- name: Update response time
uses: upptime/uptime-monitor@${await getUptimeMonitorVersion()}
with:
command: "response-time"
env:
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: \${{ secrets.GH_PAT }}
SECRETS_CONTEXT: \${{ toJson(secrets) }}
- name: Update summary in README
uses: upptime/uptime-monitor@${await getUptimeMonitorVersion()}
with:
command: "readme"
env:
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: \${{ secrets.GH_PAT }}
- name: Generate graphs
uses: benc-uk/workflow-dispatch@v1
with:
workflow: Graphs CI
token: \${{ secrets.GITHUB_TOKEN }}
token: \${{ secrets.GH_PAT }}
- name: Generate site
uses: upptime/uptime-monitor@${await getUptimeMonitorVersion()}
with:
command: "site"
env:
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: \${{ secrets.GH_PAT }}
- uses: peaceiris/[email protected]
name: GitHub Pages Deploy
with:
github_token: \${{ secrets.GITHUB_TOKEN }}
github_token: \${{ secrets.GH_PAT }}
publish_dir: "site/status-page/__sapper__/export/"
user_name: "${commitMessages.commitAuthorName || "Upptime Bot"}"
user_email: "${
Expand Down Expand Up @@ -189,17 +189,17 @@ jobs:
uses: actions/[email protected]
with:
ref: \${{ github.head_ref }}
token: \${{ secrets.GITHUB_TOKEN }}
token: \${{ secrets.GH_PAT }}
- name: Generate site
uses: upptime/uptime-monitor@${await getUptimeMonitorVersion()}
with:
command: "site"
env:
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: \${{ secrets.GH_PAT }}
- uses: peaceiris/[email protected]
name: GitHub Pages Deploy
with:
github_token: \${{ secrets.GITHUB_TOKEN }}
github_token: \${{ secrets.GH_PAT }}
publish_dir: "site/status-page/__sapper__/export/"
user_name: "${commitMessages.commitAuthorName || "Upptime Bot"}"
user_email: "${
Expand Down Expand Up @@ -230,17 +230,17 @@ jobs:
uses: actions/[email protected]
with:
ref: \${{ github.head_ref }}
token: \${{ secrets.GITHUB_TOKEN }}
token: \${{ secrets.GH_PAT }}
- name: Update summary in README
uses: upptime/uptime-monitor@${await getUptimeMonitorVersion()}
with:
command: "readme"
env:
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: \${{ secrets.GH_PAT }}
- name: Run readme-repos-list
uses: koj-co/readme-repos-list@master
with:
token: \${{ secrets.GITHUB_TOKEN }}
token: \${{ secrets.GH_PAT }}
query: "topic:upptime"
size: 20
max: 1000
Expand Down Expand Up @@ -270,13 +270,13 @@ jobs:
uses: actions/[email protected]
with:
ref: \${{ github.head_ref }}
token: \${{ secrets.GITHUB_TOKEN }}
token: \${{ secrets.GH_PAT }}
- name: Update template
uses: upptime/uptime-monitor@master
with:
command: "update-template"
env:
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: \${{ secrets.GH_PAT }}
`;
};

Expand All @@ -302,11 +302,11 @@ jobs:
uses: actions/[email protected]
with:
ref: \${{ github.head_ref }}
token: \${{ secrets.GITHUB_TOKEN }}
token: \${{ secrets.GH_PAT }}
- name: Update code
uses: upptime/updates@master
env:
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: \${{ secrets.GH_PAT }}
`;
};

Expand All @@ -332,13 +332,13 @@ jobs:
uses: actions/[email protected]
with:
ref: \${{ github.head_ref }}
token: \${{ secrets.GITHUB_TOKEN }}
token: \${{ secrets.GH_PAT }}
- name: Check endpoint status
uses: upptime/uptime-monitor@${await getUptimeMonitorVersion()}
with:
command: "update"
env:
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: \${{ secrets.GH_PAT }}
SECRETS_CONTEXT: \${{ toJson(secrets) }}
`;
};

0 comments on commit de26db3

Please sign in to comment.