Format our yaml files (#9926)
This formats all our yaml files with [Prettier](https://prettier.io/).
I don't think this is a really important property, but the RedHat YAML
language server, which appears to back the only YAML VSCode extension
uses this formatter and I'm really tired of getting random edits from
running the formatter. In particular, yamllint wants there to be two
spaces between code and a comment and Prettier adds only one. This is
extremely annoying and I cannot imagine why anyone would care whether
there are one or two spaces there (other than the Google Python style
guide and linter). So I've updated our yamllint config to also stop
complaining about this trivial thing.
I don't propose that we start mandating Prettier now (though we might
consider it at some point), but this formatting does increase the
consistency in our YAML files (in particular, with which types of
quotes we use).
diff --git a/.github/workflows/advance_upstream_forks.yml b/.github/workflows/advance_upstream_forks.yml
index 30a8963..d51a4c9 100644
--- a/.github/workflows/advance_upstream_forks.yml
+++ b/.github/workflows/advance_upstream_forks.yml
@@ -9,7 +9,7 @@
on:
schedule:
# Every hour
- - cron: '0 * * * *'
+ - cron: "0 * * * *"
workflow_dispatch:
@@ -21,7 +21,7 @@
runs-on: ubuntu-20.04
steps:
- name: Checking out repository
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
with:
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
repository: iree-org/iree-llvm-fork
@@ -32,7 +32,7 @@
git remote add upstream https://github.com/llvm/llvm-project.git
git pull --ff-only upstream main
- name: Pushing changes
- uses: ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
+ uses: ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
with:
github_token: ${{ secrets.WRITE_ACCESS_TOKEN }}
branch: main
@@ -45,7 +45,7 @@
runs-on: ubuntu-20.04
steps:
- name: Checking out repository
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
with:
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
repository: iree-org/iree-mhlo-fork
@@ -56,7 +56,7 @@
git remote add upstream https://github.com/tensorflow/mlir-hlo.git
git pull --ff-only upstream master
- name: Pushing changes
- uses: ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
+ uses: ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
with:
github_token: ${{ secrets.WRITE_ACCESS_TOKEN }}
branch: master
@@ -69,7 +69,7 @@
runs-on: ubuntu-20.04
steps:
- name: Checking out repository
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
with:
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
repository: iree-org/iree-tf-fork
@@ -80,7 +80,7 @@
git remote add upstream https://github.com/tensorflow/tensorflow.git
git pull --ff-only upstream master
- name: Pushing changes
- uses: ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
+ uses: ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
with:
github_token: ${{ secrets.WRITE_ACCESS_TOKEN }}
branch: master
diff --git a/.github/workflows/android_tflite_oneshot_build.yml b/.github/workflows/android_tflite_oneshot_build.yml
index 4ddd7ee..b78e080 100644
--- a/.github/workflows/android_tflite_oneshot_build.yml
+++ b/.github/workflows/android_tflite_oneshot_build.yml
@@ -11,7 +11,7 @@
env:
ANDROID_CONTAINER: "gcr.io/iree-oss/gradle-android@sha256:5da3d6281618ac840a00e667afd97b4484d97d676c0a0d75fa74c84e392084a9"
steps:
- - uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ - uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
with:
submodules: true
- name: Execute Android Build
@@ -21,7 +21,7 @@
-v $PWD:/work \
"${ANDROID_CONTAINER}" \
bash -c build_tools/gradle/build_tflite_android_library.sh
- - uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
+ - uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
path: ./runtime/bindings/tflite/java/build/outputs/aar/*.aar
retention-days: 1
diff --git a/.github/workflows/build_package.yml b/.github/workflows/build_package.yml
index 94981a9..7c0cb2f 100644
--- a/.github/workflows/build_package.yml
+++ b/.github/workflows/build_package.yml
@@ -11,19 +11,19 @@
workflow_dispatch:
inputs:
package_suffix:
- description: 'Suffix to append to package names'
+ description: "Suffix to append to package names"
required: false
- default: ''
+ default: ""
package_version:
- description: 'Version of the package'
+ description: "Version of the package"
required: true
- default: '0.1a1'
+ default: "0.1a1"
release_id:
- description: 'Release id to upload artifacts to'
- default: ''
+ description: "Release id to upload artifacts to"
+ default: ""
commit:
- description: 'Commit to check out'
- default: ''
+ description: "Commit to check out"
+ default: ""
jobs:
build_core:
@@ -65,9 +65,9 @@
MANYLINUX_X86_64_IMAGE: gcr.io/iree-oss/manylinux2014_x86_64-release@sha256:2c6a9120a5f96bcf3b1dda4086d807682705b51fb9c6ee5b48a8756c436220bc
steps:
- - uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ - uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
with:
- path: 'main_checkout'
+ path: "main_checkout"
submodules: true
ref: ${{ github.event.inputs.commit }}
@@ -80,7 +80,6 @@
run: |
sudo ./main_checkout/build_tools/python_deploy/install_macos_deps.sh
-
##########################################################################
# Write version_info.json
# Various tools will read this in order to embed release information.
@@ -177,7 +176,7 @@
"${MANYLINUX_X86_64_IMAGE}" \
bash -c 'export PATH=/opt/python/cp39-cp39/bin:$PATH; python ./main_checkout/build_tools/github_actions/build_dist.py py-tf-compiler-tools-pkg'
- - uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
+ - uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
# We upload all wheels (which includes deps so that subsequent
# steps can run without further fetching).
@@ -188,7 +187,7 @@
- name: Upload Release Assets
if: github.event.inputs.release_id != ''
id: upload-release-assets
- uses: dwenegar/upload-release-assets@5bc3024cf83521df8ebfadf00ad0c4614fd59148 # v1
+ uses: dwenegar/upload-release-assets@5bc3024cf83521df8ebfadf00ad0c4614fd59148 # v1
env:
GITHUB_TOKEN: ${{ secrets.WRITE_ACCESS_TOKEN }}
with:
@@ -202,7 +201,7 @@
runs-on: ubuntu-20.04
steps:
- name: "Invoke workflow :: Validate and Publish Release"
- uses: benc-uk/workflow-dispatch@4c044c1613fabbe5250deadc65452d54c4ad4fc7 # v1
+ uses: benc-uk/workflow-dispatch@4c044c1613fabbe5250deadc65452d54c4ad4fc7 # v1
with:
workflow: Validate and Publish Release
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 57c2bb2..0034569 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -50,7 +50,7 @@
build-dir: ${{ env.BUILD_DIR }}
steps:
- name: "Checking out repository"
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
with:
submodules: true
- name: "Building runtime"
@@ -65,7 +65,7 @@
# do our own.
- name: "Create build dir archive"
run: tar -cf ${BUILD_DIR}.tar ${BUILD_DIR}
- - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
+ - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
with:
name: "${{ env.BUILD_DIR }}.tar"
path: "${{ env.BUILD_DIR }}.tar"
@@ -77,11 +77,11 @@
BUILD_DIR: ${{ needs.build_runtime.outputs.build-dir }}
steps:
- name: "Checking out repository"
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
with:
submodules: true
- name: "Downloading runtime build directory"
- uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0
+ uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0
with:
name: "${{ env.BUILD_DIR }}.tar"
- name: "Extracting archive"
@@ -111,7 +111,7 @@
gcs-artifact: ${{ steps.upload.outputs.gcs-artifact }}
steps:
- name: "Checking out repository"
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
with:
submodules: true
- name: "Building IREE"
@@ -159,7 +159,7 @@
GCS_ARTIFACT: ${{ needs.build_all.outputs.gcs-artifact }}
steps:
- name: "Checking out repository"
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
with:
submodules: true
- name: "Downloading build dir archive"
@@ -189,7 +189,7 @@
GCS_ARTIFACT: ${{ needs.build_all.outputs.gcs-artifact }}
steps:
- name: "Checking out repository"
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
with:
submodules: true
- name: Querying GPU information
@@ -221,7 +221,7 @@
- os-family=Linux
steps:
- name: "Checking out repository"
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
with:
submodules: true
- name: "Building and testing with ThreadSanitizer"
@@ -251,11 +251,11 @@
HOST_BINARY_ARCHIVE: ${{ needs.host_tools_assertions.outputs.host-binary-root }}.tar
steps:
- name: "Checking out repository"
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
with:
submodules: true
- name: "Downloading host tools"
- uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0
+ uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0
with:
name: "${{ env.HOST_BINARY_ARCHIVE }}"
- name: "Extracting host tools archive"
diff --git a/.github/workflows/host_tools.yml b/.github/workflows/host_tools.yml
index 0411a76..dacf9f7 100644
--- a/.github/workflows/host_tools.yml
+++ b/.github/workflows/host_tools.yml
@@ -12,7 +12,7 @@
type: string
enable-assertions:
required: false
- type: string # Thanks CMake and Bash for not having proper booleans
+ type: string # Thanks CMake and Bash for not having proper booleans
default: "OFF"
outputs:
host-binary-root:
@@ -50,7 +50,7 @@
host-binary-root: ${{ inputs.host-binary-root }}
steps:
- name: "Checking out repository"
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
with:
submodules: true
- name: "Building host tools"
@@ -65,7 +65,7 @@
# do our own.
- name: "Creating host tools archive"
run: tar -cvf "${HOST_BINARY_ARCHIVE}" "${HOST_BINARY_ROOT}"
- - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
+ - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
with:
name: "${{ env.HOST_BINARY_ARCHIVE }}"
path: "${{ env.HOST_BINARY_ARCHIVE }}"
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 14f6035..5813290 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -15,7 +15,7 @@
runs-on: ubuntu-20.04
steps:
- name: Checking out repository
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
- name: Running bazel_to_cmake for IREE core
run: ./build_tools/bazel_to_cmake/bazel_to_cmake.py --verbosity=2
- name: Running bazel_to_cmake for IREE TF Integration Tests
@@ -30,7 +30,7 @@
runs-on: ubuntu-20.04
steps:
- name: Checking out repository
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
- name: Fetching Base Branch
# We have to explicitly fetch the base branch as well
run: git fetch --no-tags --prune --depth=1 origin "${GITHUB_BASE_REF?}:${GITHUB_BASE_REF?}"
@@ -53,9 +53,9 @@
runs-on: ubuntu-20.04
steps:
- name: Checking out repository
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
- name: Setting up python
- uses: actions/setup-python@7f80679172b057fc5e90d70d197929d454754a5a # v2
+ uses: actions/setup-python@7f80679172b057fc5e90d70d197929d454754a5a # v2
- name: Fetching Base Branch
# We have to explicitly fetch the base branch as well
run: git fetch --no-tags --prune --depth=1 origin "${GITHUB_BASE_REF?}:${GITHUB_BASE_REF?}"
@@ -76,12 +76,12 @@
runs-on: ubuntu-20.04
steps:
- name: Checking out repository
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
- name: Setting up python
- uses: actions/setup-python@7f80679172b057fc5e90d70d197929d454754a5a # v2
+ uses: actions/setup-python@7f80679172b057fc5e90d70d197929d454754a5a # v2
with:
# Pytype does not support python3.9, which this action defaults to.
- python-version: '3.8'
+ python-version: "3.8"
- name: Fetching Base Branch
# We have to explicitly fetch the base branch as well
run: git fetch --no-tags --prune --depth=1 origin "${GITHUB_BASE_REF?}:${GITHUB_BASE_REF?}"
@@ -98,7 +98,7 @@
wget https://raw.githubusercontent.com/llvm-mirror/clang/master/tools/clang-format/git-clang-format -O /tmp/git-clang-format
chmod +x /tmp/git-clang-format
- name: Checking out repository
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
- name: Fetching Base Branch
# We have to explicitly fetch the base branch as well
run: git fetch --no-tags --prune --depth=1 origin "${GITHUB_BASE_REF?}:${GITHUB_BASE_REF?}"
@@ -111,7 +111,7 @@
runs-on: ubuntu-20.04
steps:
- name: Checking out repository
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
- name: Fetching Base Branch
# We have to explicitly fetch the base branch as well
run: git fetch --no-tags --prune --depth=1 origin "${GITHUB_BASE_REF?}:${GITHUB_BASE_REF?}"
@@ -122,7 +122,7 @@
runs-on: ubuntu-20.04
steps:
- name: Checking out repository
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
- name: Fetching Base Branch
# We have to explicitly fetch the base branch as well
run: git fetch --no-tags --prune --depth=1 origin "${GITHUB_BASE_REF?}:${GITHUB_BASE_REF?}"
diff --git a/.github/workflows/oneshot_candidate_release.yml b/.github/workflows/oneshot_candidate_release.yml
index 0f3a1d3..e6fa281 100644
--- a/.github/workflows/oneshot_candidate_release.yml
+++ b/.github/workflows/oneshot_candidate_release.yml
@@ -9,7 +9,7 @@
runs-on: ubuntu-18.04
steps:
- name: Checking out repository
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
with:
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
@@ -26,7 +26,7 @@
git tag "${tag_name}"
- name: Pushing changes
- uses: ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
+ uses: ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
with:
github_token: ${{ secrets.WRITE_ACCESS_TOKEN }}
branch: ${{ github.ref_name }}
@@ -34,7 +34,7 @@
- name: Create Release
id: create_release
- uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1
+ uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1
env:
GITHUB_TOKEN: ${{ secrets.WRITE_ACCESS_TOKEN }}
with:
@@ -46,7 +46,7 @@
prerelease: true
- name: "Invoke workflow :: Build Native Release Packages"
- uses: benc-uk/workflow-dispatch@4c044c1613fabbe5250deadc65452d54c4ad4fc7 # v1
+ uses: benc-uk/workflow-dispatch@4c044c1613fabbe5250deadc65452d54c4ad4fc7 # v1
with:
workflow: Build Native Release Packages
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
diff --git a/.github/workflows/process_opened_issues.yml b/.github/workflows/process_opened_issues.yml
index 4ec9782..957beb7 100644
--- a/.github/workflows/process_opened_issues.yml
+++ b/.github/workflows/process_opened_issues.yml
@@ -11,7 +11,7 @@
name: Adding issue to the IREE GitHub project
runs-on: ubuntu-20.04
steps:
- - uses: actions/add-to-project@7a0820f97673dfefc999713a9a6d6b7ee128bba5 # v0.0.3
+ - uses: actions/add-to-project@7a0820f97673dfefc999713a9a6d6b7ee128bba5 # v0.0.3
with:
project-url: https://github.com/orgs/iree-org/projects/1
github-token: ${{ secrets.ADD_TO_PROJECT_TOKEN }}
diff --git a/.github/workflows/publish_website.yml b/.github/workflows/publish_website.yml
index 6dfad87..7da0a97 100644
--- a/.github/workflows/publish_website.yml
+++ b/.github/workflows/publish_website.yml
@@ -24,14 +24,14 @@
runs-on: ubuntu-18.04
steps:
- name: Checkout out repository
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
with:
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
- name: Fetching base gh-pages branch
# We have to explicitly fetch the gh-pages branch as well to preserve history
run: git fetch --no-tags --prune --depth=1 origin "gh-pages:gh-pages"
- name: Setting up Python
- uses: actions/setup-python@7f80679172b057fc5e90d70d197929d454754a5a # v2
+ uses: actions/setup-python@7f80679172b057fc5e90d70d197929d454754a5a # v2
with:
python-version: 3.x
- name: Installing Material for MkDocs
diff --git a/.github/workflows/schedule_candidate_release.yml b/.github/workflows/schedule_candidate_release.yml
index d4f7242..f788217 100644
--- a/.github/workflows/schedule_candidate_release.yml
+++ b/.github/workflows/schedule_candidate_release.yml
@@ -2,7 +2,7 @@
on:
schedule:
- - cron: '0 10 * * *'
+ - cron: "0 10 * * *"
workflow_dispatch:
@@ -20,7 +20,7 @@
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Checking out repository
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
with:
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
ref: ${{ steps.last_green_commit.outputs.result }}
@@ -42,7 +42,7 @@
- name: Create Release
id: create_release
- uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1
+ uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1
env:
GITHUB_TOKEN: ${{ secrets.WRITE_ACCESS_TOKEN }}
with:
@@ -54,7 +54,7 @@
prerelease: true
- name: "Invoke workflow :: Build Native Release Packages"
- uses: benc-uk/workflow-dispatch@4c044c1613fabbe5250deadc65452d54c4ad4fc7 # v1
+ uses: benc-uk/workflow-dispatch@4c044c1613fabbe5250deadc65452d54c4ad4fc7 # v1
with:
workflow: Build Native Release Packages
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
diff --git a/.github/workflows/validate_and_publish_release.yml b/.github/workflows/validate_and_publish_release.yml
index 4723214..f328db6 100644
--- a/.github/workflows/validate_and_publish_release.yml
+++ b/.github/workflows/validate_and_publish_release.yml
@@ -6,13 +6,13 @@
workflow_dispatch:
inputs:
release_id:
- description: 'Release id to publish'
+ description: "Release id to publish"
required: true
package_version:
- description: 'Version of the package'
+ description: "Version of the package"
required: true
build_run_id:
- description: 'Run ID for the build_package.yml workflow that triggered this workflow'
+ description: "Run ID for the build_package.yml workflow that triggered this workflow"
required: true
jobs:
@@ -23,7 +23,7 @@
steps:
- name: Download packages
id: download_packages
- uses: dawidd6/action-download-artifact@b2abf1705491048a2d7074f7d90513044fd25d39 # v2
+ uses: dawidd6/action-download-artifact@b2abf1705491048a2d7074f7d90513044fd25d39 # v2
with:
github_token: ${{secrets.WRITE_ACCESS_TOKEN}}
workflow: build_package.yml
@@ -35,9 +35,9 @@
ls -R
- name: Set up python
id: set_up_python
- uses: actions/setup-python@7f80679172b057fc5e90d70d197929d454754a5a # v2
+ uses: actions/setup-python@7f80679172b057fc5e90d70d197929d454754a5a # v2
with:
- python-version: '3.8'
+ python-version: "3.8"
- name: Install python packages
id: install_python_packages
run: |
@@ -77,14 +77,14 @@
steps:
- name: Publish Release
id: publish_release
- uses: eregon/publish-release@d6aee8c288e653387d895ee64d559fc0dd63339d # v1.0.3
+ uses: eregon/publish-release@d6aee8c288e653387d895ee64d559fc0dd63339d # v1.0.3
env:
GITHUB_TOKEN: ${{ secrets.WRITE_ACCESS_TOKEN }}
with:
release_id: ${{ github.event.inputs.release_id }}
- name: Checking out repository
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
+ uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2
with:
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
# Get all history. Otherwise the latest-snapshot branch can't be
@@ -92,7 +92,7 @@
fetch-depth: 0
- name: Updating latest-snapshot branch
- uses: ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
+ uses: ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
with:
github_token: ${{ secrets.WRITE_ACCESS_TOKEN }}
branch: latest-snapshot