Commit ab2cd55
feat(automate): automate version bump for pre-commit repo (#12)
* Do text subst
* take arg
* Attempt at script1
* write second script
* Update scripts to branch + aproximation of what a workflow could look like?
* Use right flag to checkout branch + change file name
* Commit via workflow not via script
* fix workflow file
* change file name & remove dup
* Add v before version
* No idea if this works
* Don't commit
* hello world
* bogus
* Add work from other fork
* consistant + remove useless checkout
* Restirct autoapprove to only semgrep-ci[bot]
* Make script less fragile?
* Split workflow into two
* add conditonal
* add back github actions bot
* spacing
* actually call the right script
* Add changes to tag-version
* Update scripts/tag-version.sh
Co-authored-by: Cooper Pierce <cooper@semgrep.com>
* Add shebang
* Sync frm test fork. (#24)
* Add work from other fork
* Hardcode configs + remove inc
* adding remotes command
* going to version 2 of checkout
* using version 4 of checkout
* using with submodules: true
* remove fake reviwer`
* add gh token
* aaa
* Add autoapprove bot
* Remove approvals and merge from bump_version
* remove bogus reviewer
* wack script
* Fix bump ver
* Restore state?
* change name
* fix typo
* Bump setup to 1.82.0
* Bump pre-commit yaml to 1.81.0 (#16)
Co-authored-by: semgrep-ci[bot] <semgrep-ci[bot]@users.noreply.github.com>
* Bump pre-commit yaml to 1.84.1 (#18)
Co-authored-by: semgrep-ci[bot] <semgrep-ci[bot]@users.noreply.github.com>
* Bump setup to 1.33.22 (#19)
Co-authored-by: semgrep-ci[bot] <semgrep-ci[bot]@users.noreply.github.com>
* simplify workflow
* Make 2nd step its own workflow
* no dup name
* maybe fix error
* remove dup key
* don't hardcode bump yaml
* Bump setup to 3.33.3 (#21)
Co-authored-by: semgrep-ci[bot] <semgrep-ci[bot]@users.noreply.github.com>
* Change trigger hook
* Bump setup to 2.22.2 (#22)
Co-authored-by: semgrep-ci[bot] <semgrep-ci[bot]@users.noreply.github.com>
* remove dispatch
* try on:push
* Bump setup to 3.33.3 (#23)
Co-authored-by: semgrep-ci[bot] <semgrep-ci[bot]@users.noreply.github.com>
* Bump setup to 1.84.1 (#24)
Co-authored-by: semgrep-ci[bot] <semgrep-ci[bot]@users.noreply.github.com>
* push a tag
* make sed portable
* reset version
* commit all files
* Bump setup to 1.84.1 (#26)
Co-authored-by: semgrep-ci[bot] <semgrep-ci[bot]@users.noreply.github.com>
* Cooper edit
* sync
* actually get token
* perms
* Bump setup to 1.84.0 (#29)
Co-authored-by: yosefAlsuhaibani <yosefAlsuhaibani@users.noreply.github.com>
* Don't negate?
* Bump setup to 1.84.1 (#30)
Co-authored-by: yosefAlsuhaibani <yosefAlsuhaibani@users.noreply.github.com>
* escape properlly?
* Bump setup to 1.84.0 (#31)
Co-authored-by: yosefAlsuhaibani <yosefAlsuhaibani@users.noreply.github.com>
* remove conditional
* Bump setup to 1.84.1 (#32)
Co-authored-by: yosefAlsuhaibani <yosefAlsuhaibani@users.noreply.github.com>
* add back conditional
* fake file
* Change ext
* Bump setup to 1.84.0 (#34)
Co-authored-by: yosefAlsuhaibani <yosefAlsuhaibani@users.noreply.github.com>
* Update autoapprove?
* Fix checks
* add --squash
* del tag and tag
* Bump setup to 1.84.1 (#37)
Co-authored-by: yosefAlsuhaibani <yosefAlsuhaibani@users.noreply.github.com>
* add ref: develop
* Bump setup to 1.84.0 (#38)
Co-authored-by: yosefAlsuhaibani <yosefAlsuhaibani@users.noreply.github.com>
* Bump setup to 1.84.1 (#39)
Co-authored-by: yosefAlsuhaibani <yosefAlsuhaibani@users.noreply.github.com>
* Remove tag-version script and workflow
* Add a small comment why we change ids
* Don't push bogus changes
* bogus
---------
Co-authored-by: Yosef Alsuhaibani <yosefalsuhaibani@Yosefs-MacBook-Pro-2.local>
Co-authored-by: Andre Kuhlenschmidt <andre@semgrep.com>
Co-authored-by: semgrep-ci[bot] <semgrep-ci[bot]@users.noreply.github.com>
Co-authored-by: semgrep-ci[bot] <106279034+semgrep-ci[bot]@users.noreply.github.com>
Co-authored-by: yosefAlsuhaibani <yosefAlsuhaibani@users.noreply.github.com>
* Remove test files
* Only autoapprove via login == semgrep-ci[bot]
* Add comments
---------
Co-authored-by: Yosef Alsuhaibani <yosefalsuhaibani@Yosefs-MacBook-Pro-2.local>
Co-authored-by: Andre Kuhlenschmidt <andre@semgrep.com>
Co-authored-by: Cooper Pierce <cooper@semgrep.com>
Co-authored-by: semgrep-ci[bot] <semgrep-ci[bot]@users.noreply.github.com>
Co-authored-by: semgrep-ci[bot] <106279034+semgrep-ci[bot]@users.noreply.github.com>
Co-authored-by: yosefAlsuhaibani <yosefAlsuhaibani@users.noreply.github.com>1 parent 1630a15 commit ab2cd55
File tree
3 files changed
+171
-0
lines changed- .github/workflows
- scripts
3 files changed
+171
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments