Skip to content

Commit

Permalink
Resolve CI issues and bump actions/checkout from v3->v4 (#1770)
Browse files Browse the repository at this point in the history
* Resolve CI issues and bump actions/checkout from v3->v4

Signed-off-by: Jeff Hodges <[email protected]>

* Use pull_request_target not pull_request for labelling PR's automagically

Signed-off-by: Jeff Hodges <[email protected]>

---------

Signed-off-by: Jeff Hodges <[email protected]>
  • Loading branch information
jhodges10 authored Jun 24, 2024
1 parent 9195176 commit 588ff5b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ tag-template: 'v$RESOLVED_VERSION'
# - 'docs'
# - 'style'

# automatically a label into a pull request
# automatically label pull requests
# https://github.com/release-drafter/release-drafter#autolabeler
autolabeler:
- label: 'feat'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
check-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Pull Request Tools

on:
workflow_dispatch:
pull_request:
pull_request_target:
types: [
opened, # pr is created
reopened, # pr is reopened after being closed
Expand All @@ -24,7 +24,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout Repo
uses: actions/checkout@v3 # https://github.com/actions/checkout/tree/main#usage
uses: actions/checkout@v4 # https://github.com/actions/checkout/tree/main#usage

# https://github.com/actions/labeler#usage
- uses: actions/labeler@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
OTIO_CONSUMER_TEST_BUILD_DIR: ${{ github.workspace }}/consumertest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install coverage dependency
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
OTIO_CXX_BUILD_TMP_DIR: ${{ github.workspace }}/build

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Set up MSYS2
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
exclude:
- { os: macos-14, python-build: 'cp37*' }
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build wheels (Python 3)
uses: pypa/[email protected]
Expand All @@ -201,7 +201,7 @@ jobs:
needs: py_build_test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
outputs:
branch-name: ${{ steps.get-branch-name.outputs.branch-name }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Create Branch
shell: bash
run: |
sh ./github/scripts/release-branch.sh
sh .github/scripts/release-branch.sh
- name: Get New Branch Name
id: get-branch-name
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

announce-release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 588ff5b

Please sign in to comment.