Commit graph

33 commits

Author SHA1 Message Date
dependabot[bot]
d5d27c829c
Bump actions/setup-python from 6 to 7
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6 to 7.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-23 01:13:22 +00:00
dependabot[bot]
5f54b5be28
Bump actions/checkout from 6 to 7 (#3609)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-30 22:26:08 +00:00
dependabot[bot]
d87fa35a95
Bump peter-evans/create-pull-request from 8.0.0 to 8.1.0 (#3416)
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-version: 8.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-10 23:24:44 +00:00
Esun Kim
2747abd5c8
CI uses bazel-contrib/setup-bazel (#3316) 2026-01-21 22:38:58 -08:00
Esun Kim
b63a3ac978
ci:ready (#3295) 2026-01-12 14:20:04 -08:00
Salman Chishti
d99223e982
Upgrade GitHub Actions for Node 24 compatibility (#3272)
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
Co-authored-by: Esun Kim <veblush@google.com>
2026-01-12 10:25:21 -08:00
Salman Chishti
df4c5b4ae2
Upgrade GitHub Actions to latest versions (#3273)
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
2026-01-12 09:15:27 -08:00
RJ Ascani
e86d97b623
Replace rascani with suleshahid on OWNERS (#2715)
BUG=none
2024-10-07 17:36:26 +00:00
RJ Ascani
2b5f0fdba1
Update TF Sync PR reviewer (#2398)
BUG=cleanup
2024-01-17 21:55:49 +00:00
Mike Bernico
995eb251d2
Updated CI to use bazelisk and install bazel into /usr/local/bin. (#1853)
BUG=fixes #1852
2023-03-28 05:34:44 +00:00
jwithers
63510bb55e
pinning python version 3.10
Nightly sync.yml was failing due to python being upgraded to 3.11 in the default linux runner environment. This PR pins all jobs that use python in the runner environment to python 3.10

BUG=https://issuetracker.google.com/issues/257470387
2022-11-04 23:40:31 +00:00
Advait Jain
c2018a7bf8
Install numpy for the bazel build during the sync. (#628) 2021-10-27 00:09:14 +00:00
Advait Jain
7f8446fc2f
Install bazel with sudo. (#627)
This PR should fix the error introduced with https://github.com/tensorflow/tflite-micro/pull/626.

BUG=fix error introduced with earlier change.
2021-10-26 23:35:15 +00:00
Advait Jain
b5ed16a738
Sync Python flatbuffer bindings, tools and utils from TF. (#626)
This is a first step towards enabling flatbuffer manipulation from
Python.

As part of this change:
  * we generate the python flatbuffer bindings from the tensorflow
    repository and copy the schema_py_generated into the TFLM repo.

  * sync common python flatbuffer manipulation code from upstream TF.

Manually tested that the sync script runs as expected:
```
./ci/sync_from_upstream_tf.sh
```

BUG=http://b/204109200
2021-10-26 22:46:55 +00:00
Advait Jain
7fd7bf1794
Update sync script to not fail on the check from #195 and #196 (#272) 2021-07-13 00:10:07 +00:00
Advait Jain
7c605aface
Add BUG=<reason> to sync PR description (required after #187) (#215) 2021-06-23 16:04:16 +00:00
Advait Jain
7af878a310
Clean up of the workflow files. (#99)
* remove unnecessary triggers.
 * explicitly specify branch for pull request trigger
2021-05-24 23:39:07 +00:00
Advait Jain
83e656ad35
Proper handling of cla labels as part of sync from upstream TF. (#68) 2021-05-07 21:20:31 +00:00
Advait Jain
0b01cc8311
attempting to use the TFLM-bot account for sync. (#61) 2021-05-04 22:17:35 +00:00
Advait Jain
8e08d32b0e
Do not remove ci:run label from the sync PRs. (#59)
Since we trigger the CI workflow on any label change, when the cla:yes
label is applied the CI workflow will be run, and there is no way around
that with the current setup.

If the sync PR does not have the ci:run label, the checks will be
skipped but will still need to be run again prior to merge since
skipping the checks invalidates the previous completion of the required checks.

As a result, we are keeping the ci:run label. What this means is that
the reviewer can manually apply the cla:yes label and then start
auto-merge (which will wait for another round of the required checks to
be run).
2021-05-02 23:02:13 +00:00
Advait Jain
9cb047a316
Remove ci:run label so that CI checks do not run again. (#56)
cla:yes can only be applied by someone from Google, so will be done
manually. However, the goal here is to have the PR be ready to merge
once a Google engineer reviews it.
2021-04-30 21:15:47 +00:00
Advait Jain
b21c86ed48
Improve the process to sync shared TfLite/TFLM code. (#54)
* Automatically remove the cla: no label and apply cla: yes label.
 * sync PR generation should not error out if there are no changes.
2021-04-30 20:50:20 +00:00
Advait Jain
cf94ebed8c
Exclude scheduled jobs from running on forks. (#52) 2021-04-30 18:06:06 +00:00
Advait Jain
7babd1934e
Change time of scheduled jobs to account for UTC/PT difference. (#51) 2021-04-30 16:36:04 +00:00
Advait Jain
ec4531a6be
Also add any new files to the sync PR. (#48)
Without the additional step of `git add`, any untracked files will not
be part of the PR that is created with the sync workflow.

Manually tested this change on my fork of tensorflow by removing a file,
pushing it to main and then confirming that the sync workflow does not
add to the PR prior to this change, but does add it to the PR after this
change.
2021-04-29 22:11:09 +00:00
Advait Jain
0ae45d6d06
Do not attempt to manipulate the cla labels. (#46)
Adding the cla: yes label seems error prone so we are going to stick to
only applying the ci:run label automatically and manually toggle the cla
status.
2021-04-29 21:50:23 +00:00
Advait Jain
1053b7fba7
Add missing .outputs (#44)
This should allow the github script step to correctly apply and remove
labels.
2021-04-29 21:31:03 +00:00
Advait Jain
1241ceb918
Move all the label add/remove to its own step. (#43) 2021-04-29 21:25:42 +00:00
Advait Jain
cfe9851698
properly escape spaces in the YAML. (#41) 2021-04-29 21:18:55 +00:00
Advait Jain
f8bb9d9051
Revert "Renaming the workflow." (#40)
This reverts commit 2092fec883.
2021-04-29 21:17:26 +00:00
Advait Jain
2092fec883
Renaming the workflow. (#39)
For some reason the actions dashboard has stopped showing me the name of
the sync workflow. Instead it is showing me the path to the yml file
which is somewhat annoying.
2021-04-29 21:12:58 +00:00
Advait Jain
3765287950
Some cleanup of the workflow files. (#38)
* Added a (presubmit) suffix to all the status checks that shold be
   required prior to merging.
 * trying out automatically removeing the "cla: no" label for the sync
   PRs.
2021-04-29 20:56:48 +00:00
Advait Jain
6c7bd6436f
Workflow to sync code from github.com/tensorflow/tensorflow (#35) 2021-04-29 20:10:20 +00:00