From e9d527faed69df172cb4c09248e3588b2189af55 Mon Sep 17 00:00:00 2001 From: Dale Sande Date: Fri, 26 Jan 2024 11:26:44 -0800 Subject: [PATCH] build: add auto-assign to project script --- .github/workflows/addToProject.yml | 10 ++++++++++ .github/workflows/testPublish.yml | 10 +++++----- 2 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/addToProject.yml diff --git a/.github/workflows/addToProject.yml b/.github/workflows/addToProject.yml new file mode 100644 index 0000000..95a5d61 --- /dev/null +++ b/.github/workflows/addToProject.yml @@ -0,0 +1,10 @@ +name: Add issue to Auro project + +on: + issues: + types: [opened] + +jobs: + call-auro-assign-workflow: + uses: AlaskaAirlines/auro-library/.github/workflows/addToProject.yml@main + secrets: inherit diff --git a/.github/workflows/testPublish.yml b/.github/workflows/testPublish.yml index 808f840..785230a 100644 --- a/.github/workflows/testPublish.yml +++ b/.github/workflows/testPublish.yml @@ -18,9 +18,9 @@ jobs: node-version: [18.x, 20.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm ci @@ -32,15 +32,15 @@ jobs: runs-on: ubuntu-latest needs: test steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 20 - run: npm ci - run: npm run build - - uses: cycjimmy/semantic-release-action@v3 + - uses: cycjimmy/semantic-release-action@v4 env: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}