Skip to content

Commit

Permalink
Hash pin workflows and enable dependabot (#1863)
Browse files Browse the repository at this point in the history
* hash pin release.yml

Signed-off-by: Joyce <[email protected]>

* hash pin reviewdog.yml

Signed-off-by: Joyce <[email protected]>

* hash pin release.note.yml

Signed-off-by: Joyce <[email protected]>

* hash pin benchmarks.yml

Signed-off-by: Joyce <[email protected]>

* hash pin api.yml

Signed-off-by: Joyce <[email protected]>

* hash pin build.yml part 1

Signed-off-by: Joyce <[email protected]>

* hash pin build.yml part 2

Signed-off-by: Joyce <[email protected]>

* Create dependabot.yml

Signed-off-by: Joyce <[email protected]>

* Bump the github-actions group with 4 updates

Bumps the github-actions group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [actions/setup-python](https://github.com/actions/setup-python), [actions/setup-node](https://github.com/actions/setup-node) and [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request).


Updates `actions/checkout` from 2.7.0 to 4.1.0
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@ee0669b...8ade135)

Updates `actions/setup-python` from 1.2.4 to 4.7.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v1.2.4...61a6322)

Updates `actions/setup-node` from 1.4.6 to 3.8.1
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v1.4.6...5e21ff4)

Updates `peter-evans/create-pull-request` from 3.14.0 to 5.0.2
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](peter-evans/create-pull-request@18f7dc0...1534078)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update dependabot.yml max prs

Signed-off-by: Joyce <[email protected]>

---------

Signed-off-by: Joyce <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
joycebrum and dependabot[bot] authored Sep 27, 2023
1 parent 7c2efec commit 3931475
Show file tree
Hide file tree
Showing 7 changed files with 152 additions and 127 deletions.
25 changes: 25 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
groups:
github-actions:
patterns:
- "*"
open-pull-requests-limit: 3
14 changes: 7 additions & 7 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
python: ['3.8']
version: ['tensorflow:tensorflow-io-nightly', 'tf-nightly:tensorflow-io', 'tf-nightly:tensorflow-io-nightly']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ matrix.python }}
- run: |
Expand Down Expand Up @@ -65,8 +65,8 @@ jobs:
python: ['3.8']
version: ['tensorflow:tensorflow-io-nightly', 'tf-nightly:tensorflow-io', 'tf-nightly:tensorflow-io-nightly']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ matrix.python }}
- name: Setup Linux
Expand Down Expand Up @@ -120,11 +120,11 @@ jobs:
python: ['3.8']
version: ['tensorflow:tensorflow-io-nightly', 'tf-nightly:tensorflow-io', 'tf-nightly:tensorflow-io-nightly']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ matrix.python }}
- uses: actions/setup-node@v1
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: '8.x'
- name: Setup Windows
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
python: ['3.8']
version: ['tensorflow:tensorflow-io-nightly', 'tensorflow:tensorflow-io']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ matrix.python }}
- name: Setup macOS
Expand Down Expand Up @@ -58,10 +58,10 @@ jobs:
python: ['3.8']
version: ['tensorflow:tensorflow-io-nightly', 'tensorflow:tensorflow-io']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
fetch-depth: 0
- uses: actions/setup-python@v1
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ matrix.python }}
- name: Setup Linux
Expand All @@ -87,7 +87,7 @@ jobs:
python -c 'from tensorflow_io_gcs_filesystem.core.python.ops import plugin_gs; print(plugin_gs)'
python -m pytest --benchmark-only --benchmark-json benchmark.json -v --import-mode=append $(find . -type f \( -iname "test_*.py" ! \( -iname "test_*_v1.py" -o -iname "test_bigquery.py" \) \))
- name: Store benchmark result
uses: rhysd/github-action-benchmark@v1
uses: rhysd/github-action-benchmark@70405016b032d44f409e4b1b451c40215cbe2393 # v1.18.0
with:
name: Tensorflow-IO Benchmarks
tool: 'pytest'
Expand Down
Loading

0 comments on commit 3931475

Please sign in to comment.