Commit Graph

55 Commits

Author SHA1 Message Date
Lars Hvam
b6e375b3d6
update npm dependencies (#7202) 2025-04-14 09:34:05 +02:00
Lars Hvam
dd9790d9bd
update npm + actions dependencies (#7157)
Some checks failed
main-build / build-merged (push) Has been cancelled
main-build / auto-tag (push) Has been cancelled
main-build / coverage (push) Has been cancelled
main-build / auto-tag-artifact (push) Has been cancelled
ajson mirror / pr_ajson_changes (push) Has been cancelled
2025-03-14 10:02:43 +01:00
Lars Hvam
a18b9c7f81
update eslint to 9 + update actions (#6910) 2024-04-21 11:32:42 +02:00
Lars Hvam
f46f5ce58e
startup gitea for integration testing (#6619)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-11-05 16:04:38 +01:00
Lars Hvam
7cff5c7e46
npm + actions updates + unit tests (#6262) 2023-05-15 10:46:35 +02:00
Lars Hvam
99bdf3a1b9
reuse workflow: only run on pull request (#6199) 2023-04-06 10:16:04 +02:00
Marc Bernard
82b74d7b7d
REUSE License Compliance (#6170)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-04-05 16:26:29 +02:00
Alexander Tsybulsky
a1f5f4d02e
One more attempt to fix tag artifacts (#6125) 2023-03-03 14:01:27 +01:00
Alexander Tsybulsky
aee345bc2f
Fixes to ci (#5875) 2022-11-21 15:10:45 -05:00
Alexander Tsybulsky
4a5263d0ba
fix auto-tag-artifact workflow (#5804) 2022-10-04 17:43:49 +03:00
Alexander Tsybulsky
90a55d0c0f
Push tags to builds (#5793) 2022-10-04 15:18:27 +03:00
Lars Hvam
ffd3c95d4a
disable dependabot, unit testing (#5699) 2022-08-01 10:07:42 +02:00
Lars Hvam
2ffdab2526
Update ajson_mirror.yaml (#5583) 2022-05-23 09:13:59 +02:00
dependabot[bot]
01549fa5e5
Bump peter-evans/create-pull-request from 3 to 4 (#5528)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  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>
2022-05-04 14:05:09 +02:00
dependabot[bot]
f5d8611380
Bump actions/setup-node from 2 to 3 (#5527)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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>
2022-05-04 10:10:34 +02:00
dependabot[bot]
c8de4579ed
Bump actions/checkout from 2 to 3 (#5526)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
2022-05-04 10:04:37 +02:00
Naveen
be3f3f0234
chore: Included githubactions in the dependabot config (#5523)
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-05-04 10:01:39 +02:00
Lars Hvam
97a0da735c
Actions: fix syntax? (#5481)
* Actions: fix syntax?

* fix
2022-04-22 07:50:32 +02:00
Alexander Tsybulsky
302178db78
cleaner action names (#5479) 2022-04-22 07:45:19 +02:00
Naveen
d6d1e9e8cb
Set permissions for GitHub actions (#5470)
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

 Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
2022-04-15 08:24:36 +02:00
Lars Hvam
6746302bb0
actions: upload merged build as artifact on pull (#5382) 2022-02-25 10:41:19 +01:00
Lars Hvam
414a8fe1b2
refactor github actions (#5356)
* refactor github actions

* fixes

* split into build
2022-02-19 09:13:45 +01:00
Marc Bernard
fb3bebe61f
Avoid double action runs - Revert (#5151)
* Avoid double action runs

* Update build.yml

* Revert all

* Revert all
2021-11-19 13:25:19 -05:00
Marc Bernard
de6291a9c0
Avoid double action runs (#5150)
`skip-duplicate-actions` for build job
2021-11-19 13:01:46 -05:00
Marc Bernard
49181d0240
Avoid double action runs (#5149)
Next try using `skip-duplicate-actions`
2021-11-19 12:55:19 -05:00
Marc Bernard
25a29df749
Avoid double action runs (#5148) 2021-11-19 12:20:31 -05:00
Marc Bernard
0d957aac17
Exclude package from AJSON mirror (#5125)
* Exclude package from AJSON mirror

Just copy `z*` objects which keeps `package.devc.xml`

* Update package.devc.xml

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-11-10 16:45:10 +01:00
Lars Hvam
590e7eb175
update to node16 + ignore scripts (#5117)
* update to node16 + ignore scripts

* latest
2021-11-09 16:28:56 +01:00
Lars Hvam
09a0a43b95
more unit test and coverage (#5051)
* wip, update npm packages

* upd

* run simple_test

* run array_test

* run visit_types

* run empty_filter_simple

* run empty_filter_deep

* run path_filter

* run path_filter_deep

* run and_filter

* transpile zcl_abapgit_data_injector

* upd

* transpile extra files

* transpile zif_abapgit_data_deserializer

* two extra interfaces

* compile enum providers

* and zcl_abapgit_proxy_auth

* compile repo listener

* zcl_abapgit_repo_filter

* update note

* run coverage

* and upload

* refactor action
2021-10-29 07:46:32 +02:00
Lars Hvam
89507dc971
actions: build and test, run on all pull_request events (#4940)
changes actions to run on all push and pull request events

been having trouble with actions not running, this might solve it, rolls back to old setup
2021-09-14 16:16:07 +02:00
Alexander Tsybulsky
8e8eae99b0
Update ajson wf to run for origin repo only (#4926) 2021-08-30 13:19:58 +02:00
Lars Hvam
40fa13278d
xml input: add basic unit test case (#4894) 2021-08-25 08:11:02 +02:00
github-actions[bot]
41c9e0880b
ajson, Automatic Update (#4895) 2021-08-16 08:20:05 +02:00
github-actions[bot]
9d1e14a90d
ajson, Automatic Update (#4888)
* [create-pull-request] automated change

* Update zcl_abapgit_ajson.clas.locals_imp.abap

* Update zcl_abapgit_ajson.clas.locals_imp.abap

* Update ajson_mirror.yaml

* skip parse_bare_values

Co-authored-by: larshp <larshp@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-08-02 06:57:22 +02:00
Lars Hvam
9f025fa656
testing scaffolding (#4875)
* additional classes are transpiled
* additional unit tests run under node.js
* `abap_transpile.json` moved to folder `/test/` from root
* new `npm run integration` target, doesnt really do anything yet
* new `/test/Readme.md` with [notes and stuff](https://github.com/abapGit/abapGit/pull/4875/files#diff-5de36acd90308dc62abf7855a686ee7052ffb6e762c756fd735fb0c9fbd9595d)
2021-07-29 16:55:43 +02:00
Lars Hvam
ed4fb14582
actions: only run one build job (#4880)
* Update build.yml

* Update build.yml

* Update build.yml
2021-07-29 16:51:16 +02:00
Lars Hvam
a52ab7329b
update deps + additional unit testing via open-abap (#4871) 2021-07-18 13:17:24 +02:00
Lars Hvam
e1da67e7cb
ajson mirror: only run for abapGit/abapGit (#4788) 2021-05-24 12:57:44 +02:00
Lars Hvam
6a41234fe6
update deps, use node 14 for CI (#4755)
* update deps, use node 14 for CI

* upd

* fix

* upd

* upd

* update config
2021-05-09 09:16:27 +02:00
dependabot-preview[bot]
3f72775734
Upgrade to GitHub-native Dependabot (#4738)
* Upgrade to GitHub-native Dependabot

* Update dependabot.yml

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-05-03 15:32:17 +02:00
Lars Hvam
3afc2fa1b5
change deploy build setup (#4711)
* change deploy build setup

* +x
2021-04-19 17:12:11 +02:00
github-actions[bot]
f264f33b7e
ajson, Automatic Update (#4708)
* [create-pull-request] automated change

* Update ajson_mirror.yaml

Co-authored-by: larshp <larshp@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-04-18 11:36:07 +02:00
Lars Hvam
b23c0dc1b8
ajson, automatically PR from mirror (#4707)
* ajson, automatically PR from mirror

* upd

* upd

* upd

* upd

* upd

* setup node v2

* update deps

* upd
2021-04-18 11:19:57 +02:00
Lars Hvam
02a8c719a0
default branch updates (#4572)
* Update build.yml

* docs updates

* readme and contributing adjusted
2021-02-28 18:07:37 +01:00
Marc Bernard
46e2dd827b
Package Structure - Part 4 (#4305)
* Package Structure - Part 4

$ABAPGIT_OBJECTS_CORE:

ZCL_ABAPGIT_DEPENDENCIES
ZCL_ABAPGIT_FILE_STATUS
ZCL_ABAPGIT_FOLDER_LOGIC
ZCL_ABAPGIT_OBJECTS
ZCL_ABAPGIT_OBJECTS_ACTIVATION
ZCL_ABAPGIT_OBJECTS_FILES
ZCL_ABAPGIT_SERIALIZE
ZCL_ABAPGIT_TADIR
ZIF_ABAPGIT_COMPARATOR
ZIF_ABAPGIT_OBJECT
ZIF_ABAPGIT_OBJECTS
ZIF_ABAPGIT_TADIR
ZCL_ABAPGIT_SKIP_OBJECTS

$ABAPGIT_OBJECTS_TEXTS:

ZIF_ABAPGIT_LANG_DEFINITIONS

#4253

* ZIF_ABAPGIT_LANG_DEFINITIONS

* Sync

* Sync

* Sync

* Sync

* Move objects

* Sync

* always upload build artifact

* Move type to interface

* Types

* Add package

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-11 07:50:10 +01:00
Lars Hvam
297a579757
github actions: save build artifact (#4295)
* save build artifact

* upd
2020-12-07 09:28:35 +01:00
Lars Hvam
01ec664981
Rename .github/workflows/FUNDING.yml to .github/FUNDING.yml (#4132) 2020-11-03 19:35:24 +01:00
Lars Hvam
0be6b72773
Create FUNDING.yml (#4131) 2020-11-03 19:32:24 +01:00
Lars Hvam
fff8f1b237
new URL, updates (#3936)
* Update build.yml

* docs, update urls

* code, update links
2020-09-24 09:42:52 +02:00
Alexander Tsybulsky
9347869d8a
fix ci for autotag (fetch depth 2) #3808 (#3809) 2020-08-28 06:50:47 +02:00