summaryrefslogtreecommitdiffstats
path: root/src/doc/rustc-dev-guide/.github/workflows
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/doc/rustc-dev-guide/.github/workflows
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/doc/rustc-dev-guide/.github/workflows')
-rw-r--r--src/doc/rustc-dev-guide/.github/workflows/date-check.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/.github/workflows/date-check.yml b/src/doc/rustc-dev-guide/.github/workflows/date-check.yml
index c34c11c1e..bf2a7a819 100644
--- a/src/doc/rustc-dev-guide/.github/workflows/date-check.yml
+++ b/src/doc/rustc-dev-guide/.github/workflows/date-check.yml
@@ -27,9 +27,8 @@ jobs:
cargo run -- ../../src/ > ../../date-check-output.txt
- name: Open issue
- uses: actions/github-script@v3
+ uses: actions/github-script@v6
with:
- github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const fs = require('fs');
@@ -37,7 +36,7 @@ jobs:
const title = rawText.split('\n')[0];
if (title != 'empty') {
const body = rawText.split('\n').slice(1).join('\n');
- github.issues.create({
+ github.rest.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
title,