From 5bc106ce98b63d3600e4f03c96076c88ac71df94 Mon Sep 17 00:00:00 2001 From: "Zhian N. Kamvar" Date: Wed, 2 Mar 2022 09:20:53 -0800 Subject: [PATCH] fix artifact name for PRs with changed workflows This will fix #263 --- DESCRIPTION | 2 +- NEWS.md | 8 ++++++++ inst/workflows/pr-receive.yaml | 6 +++--- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 090e57be3..b95bc9bdc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: sandpaper Title: Create and Curate Carpentries Lessons -Version: 0.3.3 +Version: 0.3.4 Authors@R: c( person(given = "Zhian N.", family = "Kamvar", diff --git a/NEWS.md b/NEWS.md index 3f83de872..ec49f3736 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,11 @@ +# sandpaper 0.3.4 + +CONTINUOUS INTEGRATION +---------------------- + + * pr-receive.yaml has been updated to not report errors for workflow updates. + See https://github.com/carpentries/sandpaper/issues/263 for details + # sandpaper 0.3.3 BUG FIXES diff --git a/inst/workflows/pr-receive.yaml b/inst/workflows/pr-receive.yaml index e6c7be861..aef3cfb3a 100644 --- a/inst/workflows/pr-receive.yaml +++ b/inst/workflows/pr-receive.yaml @@ -111,18 +111,18 @@ jobs: - name: "Record PR number" id: record run: | - echo ${{ github.event.number }} > ${{ github.workspace }}/pr + echo ${{ github.event.number }} > ${{ github.workspace }}/NR # 2022-03-02: artifact name fixed to be NR - name: "Upload PR number" id: upload uses: actions/upload-artifact@v2 with: name: pr - path: ${{ github.workspace }}/pr + path: ${{ github.workspace }}/NR - name: "Comment on PR" id: comment-diff uses: carpentries/actions/comment-diff@main with: - pr: ${{ github.event.number }} + pr: ${{ github.event.number }} body: | This pull request contains modified workflows and no preview will be created.