{"id":15090139,"url":"https://github.com/frieder/gha-jira-login","last_synced_at":"2025-04-11T22:12:10.204Z","repository":{"id":239598021,"uuid":"799987691","full_name":"frieder/gha-jira-login","owner":"frieder","description":"A Github action to log into Atlassian Jira","archived":false,"fork":false,"pushed_at":"2025-03-31T03:45:25.000Z","size":666,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T22:12:06.299Z","etag":null,"topics":["action","atlassian","github","jira","login"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frieder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-13T13:42:26.000Z","updated_at":"2025-03-31T03:45:28.000Z","dependencies_parsed_at":"2024-07-15T04:45:05.869Z","dependency_job_id":"d792dd72-4000-4dbf-b7e3-02346f692736","html_url":"https://github.com/frieder/gha-jira-login","commit_stats":{"total_commits":36,"total_committers":2,"mean_commits":18.0,"dds":"0.13888888888888884","last_synced_commit":"aa4b4d9eb55e68b075a2fc0deee5fb160c63e566"},"previous_names":["frieder/gha-jira-login"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frieder%2Fgha-jira-login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frieder%2Fgha-jira-login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frieder%2Fgha-jira-login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frieder%2Fgha-jira-login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frieder","download_url":"https://codeload.github.com/frieder/gha-jira-login/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487689,"owners_count":21112190,"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","atlassian","github","jira","login"],"created_at":"2024-09-25T09:21:51.638Z","updated_at":"2025-04-11T22:12:10.180Z","avatar_url":"https://github.com/frieder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github Action - Jira Login\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/frieder/gha-jira-login/pr.yml?label=Build%20Status)](https://github.com/frieder/gha-jira-login/actions/workflows/pr.yml)\n[![Open Issues](https://img.shields.io/github/issues-raw/frieder/gha-jira-login?label=Open%20Issues)](https://github.com/frieder/gha-jira-login/issues?q=is%3Aopen+is%3Aissue)\n[![Sonar Issues](https://img.shields.io/sonar/violations/frieder_gha-jira-login/main?format=long\u0026server=https%3A%2F%2Fsonarcloud.io\u0026label=Sonar%20Violations)](https://sonarcloud.io/project/overview?id=frieder_gha-jira-login)\n[![Known Vulnerabilities](https://snyk.io/test/github/frieder/gha-jira-login/badge.svg)](https://snyk.io/test/github/frieder/gha-jira-login)\n\nA Github action that takes access credentials and verifies them again Jira REST API.\nUpon successful login, the credentials are stored locally in `~/jira/config.yml`.\nThis behavior is in line with how [atlassian/gajira-login](https://github.com/marketplace/actions/jira-login) \nworks to act as a drop-in replacement.\n\n\u003e Atlassian does not maintain its Github actions anymore. This is an issue since they are\n\u003e built with Node v16, which has been marked deprecated by Github and will soon get removed.\n\nInstead of just writing the data to the file, it performs a login attempt to verify the\nprovided credentials. This allows to fail early if the credentials are incorrect.\n\n## Usage\n\n```yaml\nname: Test Action\n\non:\n  [..]\n\nenv:\n  JIRA_BASE_URL: ${{ secrets.JIRA_URL }} # https://???.atlassian.net\n  JIRA_USER_EMAIL: ${{ secrets.JIRA_EMAIL }}\n  JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}\n\njobs:\n  example:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Jira Login\n        uses: frieder/gha-jira-login@v1\n        with:\n          baseUrl: ${{ secrets.JIRA_URL }}\n          email: ${{ secrets.JIRA_EMAIL }}\n          token: ${{ secrets.JIRA_TOKEN }}\n```\n\nThe access information can be provided either as direct action arguments or by setting\nenv variables. For the env variable names it will use the same names as Atlassian's\nlogin action does to allow for a drop-in replacement. When both are provided, the \ninput fields take precedence over the env variables.\n\n## Build Code\n\nInstall packages: `npm i`              \u003cbr\u003e\nCompile code: `npm run build`          \u003cbr\u003e\nFormat code: `npm run format`          \u003cbr\u003e\nFormat check: `npm run format-check`   \u003cbr\u003e\nCode check: `npm run lint`\n\n## Test Action\n\nThis action can be tested during development with the use of https://github.com/nektos/act.\n\n```\nact -j check -s JIRA_URL=*** -s JIRA_EMAIL=*** -s JIRA_TOKEN=***\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrieder%2Fgha-jira-login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrieder%2Fgha-jira-login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrieder%2Fgha-jira-login/lists"}