{"id":19417226,"url":"https://github.com/thewisker/aur-update-git","last_synced_at":"2026-04-11T02:01:53.928Z","repository":{"id":177651159,"uuid":"660658088","full_name":"TheWisker/aur-update-git","owner":"TheWisker","description":"Github Action that updates AUR git packages on push","archived":false,"fork":false,"pushed_at":"2023-07-01T15:33:26.000Z","size":239,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-22T11:47:47.542Z","etag":null,"topics":["action","arch","aur","bash","git","workflow","yaml"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheWisker.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":".github/CODEOWNERS","security":null,"support":"SUPPORT.md","governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-06-30T14:12:03.000Z","updated_at":"2023-07-01T15:44:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec762011-9c67-4e66-90e7-83b47f2480aa","html_url":"https://github.com/TheWisker/aur-update-git","commit_stats":null,"previous_names":["thewisker/aur-update-git"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/TheWisker/aur-update-git","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheWisker%2Faur-update-git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheWisker%2Faur-update-git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheWisker%2Faur-update-git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheWisker%2Faur-update-git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheWisker","download_url":"https://codeload.github.com/TheWisker/aur-update-git/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheWisker%2Faur-update-git/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262085781,"owners_count":23256514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["action","arch","aur","bash","git","workflow","yaml"],"created_at":"2024-11-10T13:08:11.880Z","updated_at":"2026-04-11T02:01:48.872Z","avatar_url":"https://github.com/TheWisker.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eAUR Update Git\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://github.com/TheWisker/aur-update-git\"\u003e\n        \u003cimg width=\"350\" src=\"./assets/logo.svg\"\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\u003cp align=\"center\"\u003eUpdates AUR git packages on push\u003c/p\u003e\n\n\u003ch2 align=\"center\"\u003eIndex\u003c/h2\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \n  [Description][description]\n  \n  [Usage][usage]\n\n  [Discussions][discussions]\n\n  [Support][support]\n\n  [Contributions][contributions]\n  \n  [Code of Conduct][coc]\n  \n  [Author][author]\n\n\u003c/div\u003e\n\n\u003ch2 align=\"center\"\u003eDescription [\u003ca href=\"https://github.com/TheWisker/aur-update-git#index\"\u003e↑\u003c/a\u003e]\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003eThis is a \u003cb\u003eGithub Action\u003c/b\u003e that updates AUR git packages on push.\u003c/p\u003e\n\n\u003ch2 align=\"center\"\u003eUsage [\u003ca href=\"https://github.com/TheWisker/aur-update-git#index\"\u003e↑\u003c/a\u003e]\u003c/h2\u003e\n\nTo use this **GitHub Action** you need to already have **initialized** the **AUR repository** and **uploaded** a first **version**.\nThe **pkgbase** must end in `-git` for this action to work and to *differentiate* it from the *release* action which you can maintain with this action's twin [AUR Update][twin].\n\nOnce that has been taken care of, you need to create a **folder** in your GitHub **repository** were the AUR **packages** will be **stored** and **updated** (by default /aur). Inside said folder, you must **create** a **folder** named exactly as the **pkgbase** for each package you intend to maintain. Then, *optionally*, **fill** each package's folder with it's AUR **content** (PKGBUILD .SRCINFO ...).\n\nAfter all this preparations have been done it is only left to **create** the **workflow** `.yml` file under `.github/workflows/`.\n\nThe `.yml` file needs certain **fields** to have specific **values** to work. These are:\n\n\u003ch4 align=\"left\"\u003e\u003cb\u003ePermissions\u003c/b\u003e to \u003cb\u003ewrite\u003c/b\u003e to the repo\u003c/h4\u003e\n\n```yaml\npermissions:\n  contents: write\n```\n\n\u003ch4 align=\"left\"\u003e\u003cb\u003eRun\u003c/b\u003e the job on a \u003cb\u003epriviledged Arch\u003c/b\u003e container\u003c/h4\u003e\n\nOn the job element:\n\n```yaml\nruns-on: ubuntu-latest \ncontainer:\n  image: archlinux\n  options: --privileged\n```\n\n\u003ch4 align=\"left\"\u003eRun on \u003cb\u003epush\u003c/b\u003e\u003c/h4\u003e\n\n```yaml\non:\n  push:\n    branches:\n      - 'master'\n```\n\n**Not** really **needed** but it is **intented** to work on push\n\n\u003ch3 align=\"center\"\u003eParameters\u003c/h3\u003e\n\n| Inputs | Default | Required | Description |\n| ------ | ------- | -------- | ----------- |\n| **aur_key** | no default | true | AUR **ssh** private **key** |\n| **ref** | 'master' | false | Checkout **reference** |\n| **username** | ${{ github.actor \\|\\| 'github-actions-bot'}} | false | Git **username** to use |\n| **email** | 'github-actions-bot@noreply.com' | false | Git **email** to use |\n| **repo** | ${{ github.repository }} | false | **Repository**: user/repo_name |\n| **repo_name** | ${{ github.event.repository.name }} | false | Repository **name** |\n| **aur_folder** | ./aur | false | AUR files **folder** |\n| **commit_hash** | ${{ github.event.push.after \\|\\| 'no-hash' }} | false | Commit **hash** for commit messages |\n\n\u003ch3 align=\"center\"\u003eExamples\u003c/h3\u003e\n\n\u003ch4 align=\"left\"\u003eBasic\u003c/h4\u003e\n\n```yaml\nname: AUR Update Git\non:\n  push:\n    branches:\n      - 'master'\npermissions:\n  contents: write\njobs:\n  aur-update-git:\n    runs-on: ubuntu-latest \n    container:\n      image: archlinux\n      options: --privileged\n    steps:\n      - name: AUR Update Git\n        uses: TheWisker/aur-update-git@master\n        with:\n          aur_key: ${{ secrets.AUR_KEY }}\n```\n\nThe most **basic** workflow file\n\n\u003ch4 align=\"left\"\u003eAdvanced\u003c/h4\u003e\n\n```yaml\nname: AUR Update Git\nrun-name: AUR package update by ${{ github.actor }} push\non:\n  push:\n    branches:\n      - 'master'\npermissions:\n  contents: write\nconcurrency:\n  group: \"aur\"\n  cancel-in-progress: false\njobs:\n  aur-update-git:\n    environment:\n      name: aur-packages\n    runs-on: ubuntu-latest \n    container:\n      image: archlinux\n      options: --privileged\n    steps:\n      - name: AUR Update Git\n        uses: TheWisker/aur-update-git@master\n        with:\n          aur_key: ${{ secrets.AUR_KEY }}\n          username: TheWisker\n          email: TheWisker@protonmail.com\n```\n\nSpecifies a **concurrency** group so if it is called multiple times at once it is **serialized**. It also specifies an **environment** to deploy to so you can, for example, add a **delay** to said environment so you can cancel the AUR **update** if there has been a mistake commit. The environment can also be used to only **allow access** to the AUR_KEY **secret** to it to minimize **security** risks.\n\n\u003ch2 align=\"center\"\u003eDiscussions [\u003ca href=\"https://github.com/TheWisker/aur-update-git#index\"\u003e↑\u003c/a\u003e]\u003c/h2\u003e\n\nFeel free to give any **ideas** for future **improvements** [here][discussion-ideas] and\nask any **questions** you have [here][discussion-questions].\n\n\u003ch2 align=\"center\"\u003eSupport [\u003ca href=\"https://github.com/TheWisker/aur-update-git#index\"\u003e↑\u003c/a\u003e]\u003c/h2\u003e\n\nIf you have got any problems with the action please refer to the [SUPPORT.md][support] file.\n\n\u003ch2 align=\"center\"\u003eContributions [\u003ca href=\"https://github.com/TheWisker/aur-update-git#index\"\u003e↑\u003c/a\u003e]\u003c/h2\u003e\n\nFirst and foremost, all contributions are welcome!\nThe **steps** involved when making a contribution are **explained** in the [CONTRIBUTING.md][contributing] file.\nWe look forward to your contributions!\n\n- The **contributors** list is located [here][contributors].\n\n\u003ch2 align=\"center\"\u003eCode of Conduct [\u003ca href=\"https://github.com/TheWisker/aur-update-git#index\"\u003e↑\u003c/a\u003e]\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e This project follows the \u003ca href=\"./.github/CODE_OF_CONDUCT.md\"\u003e\u003cb\u003eContributor Covenant Code of Conduct\u003c/b\u003e\u003c/a\u003e.\u003c/p\u003e\n\n\u003ch2 align=\"center\"\u003eAuthor [\u003ca href=\"https://github.com/TheWisker/aur-update-git#index\"\u003e↑\u003c/a\u003e]\u003c/h2\u003e\n\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://github.com/TheWisker\"\u003e\n        \u003cimg width=\"200\" height=\"200\" src=\"./assets/profile.png\"\u003e\u003c/img\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\u003ch4 align=\"center\"\u003eTheWisker\u003c/h4\u003e\n\n[description]: https://github.com/TheWisker/aur-update-git#description-\n[usage]: https://github.com/TheWisker/aur-update-git#usage-\n[discussions]: https://github.com/TheWisker/aur-update-git#discussions-\n[support]: https://github.com/TheWisker/aur-update-git#support-\n[contributions]: https://github.com/TheWisker/aur-update-git#contributions-\n[coc]: https://github.com/TheWisker/aur-update-git#code-of-conduct-\n[author]: https://github.com/TheWisker/aur-update-git#author-\n[twin]: https://github.com/TheWisker/aur-update\n[discussion-ideas]: https://github.com/TheWisker/aur-update-git/discussions/categories/ideas\n[discussion-questions]: https://github.com/TheWisker/aur-update-git/discussions/categories/q-a\n[support]: ./SUPPORT.md\n[contributing]: ./CONTRIBUTING.md\n[contributors]: ./CONTRIBUTORS.md","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthewisker%2Faur-update-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthewisker%2Faur-update-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthewisker%2Faur-update-git/lists"}