René's URL Explorer Experiment


Title: Maven release workflow doesn't trigger on new tag worklow · Issue #537 · OpenSourceHelpCommunity/Questions · GitHub

Open Graph Title: Maven release workflow doesn't trigger on new tag worklow · Issue #537 · OpenSourceHelpCommunity/Questions

X Title: Maven release workflow doesn't trigger on new tag worklow · Issue #537 · OpenSourceHelpCommunity/Questions

Description: I have 2 workflows: a maven release workflow, triggered by workflow_dispatch a docker image creation supposed to be triggered by the aforementioned workflow (when a new tag is pushed) I shouldn't use GITHUB_TOKEN when expecting a workflo...

Open Graph Description: I have 2 workflows: a maven release workflow, triggered by workflow_dispatch a docker image creation supposed to be triggered by the aforementioned workflow (when a new tag is pushed) I shouldn't u...

X Description: I have 2 workflows: a maven release workflow, triggered by workflow_dispatch a docker image creation supposed to be triggered by the aforementioned workflow (when a new tag is pushed) I shouldn'...

Opengraph URL: https://github.com/OpenSourceHelpCommunity/Questions/issues/537

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Maven release workflow doesn't trigger on new tag worklow","articleBody":"I have 2 workflows:\r\n- a maven release workflow, triggered by workflow_dispatch\r\n- a docker image creation  supposed to be triggered by the aforementioned workflow (when a new tag is pushed)\r\n\r\n[I shouldn't use GITHUB_TOKEN when expecting a workflow to call another workflow](https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow#triggering-a-workflow-from-a-workflow), that's why I made my own Personal Access Token (PAS) and passed it in the first workflow (secrets.PAS_TOKEN).\r\n\r\nAm I correctly using the PAS token with the Maven command ?\r\n\r\nThe release goal executed by maven pushes new tags indeed.\r\n\r\nAs a matter of fact, **workflow_run** is pointless as it does not work with tags.\r\n\r\nThe maven release workflow YAML:\r\n```\r\nname: Java CI with Maven to release latest SNAPSHOT version\r\n\r\non:\r\n  workflow_dispatch:\r\n\r\njobs:\r\n  build:\r\n\r\n    runs-on: ubuntu-latest\r\n\r\n    steps:\r\n    - uses: actions/checkout@v4\r\n    - name: Set up JDK 17\r\n      uses: actions/setup-java@v4\r\n      with:\r\n        java-version: '17'\r\n        distribution: 'temurin'\r\n        cache: maven\r\n    - name: Configure Git user\r\n      run: |\r\n        git config user.email \"me@mail.com\"\r\n        git config user.name \"Mohamed Ennahdi El Idrissi\"\r\n    - name: Build with Maven\r\n      run: mvn -B release:clean release:prepare release:perform --file pom.xml\r\n      env:\r\n        GITHUB_TOKEN: ${{ secrets.PAS_TOKEN }}\r\n```\r\n\r\nThe docker image creation workflow YAML:\r\n\r\n```\r\nname: Java CI with Maven to create and publish Docker image\r\n\r\non:\r\n  push:\r\n    tags:\r\n    - '*'\r\n    \r\njobs:\r\n  build:\r\n\r\n    runs-on: ubuntu-latest\r\n\r\n    steps:\r\n    - uses: actions/checkout@v4\r\n    - name: Set up JDK 17\r\n      uses: actions/setup-java@v4\r\n      with:\r\n        java-version: '17'\r\n        distribution: 'temurin'\r\n        cache: maven\r\n    - name: Create docker image and push to docker hub (latest version)\r\n      run: |\r\n        echo $RELEASE_VERSION\r\n        echo ${{ env.RELEASE_VERSION }}\r\n        mvn -B spring-boot:build-image --file pom.xml\r\n```","author":{"url":"https://github.com/mohamed-ennahdi","@type":"Person","name":"mohamed-ennahdi"},"datePublished":"2024-11-28T09:50:01Z","url":"https://github.com/OpenSourceHelpCommunity/Questions/issues/537"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8462746b-dec0-f573-61cf-541b4b5a8b46
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCB4E:1D20B7:FCCA6:13DFA3:6B00F7E6
html-safe-noncefe57233a0b75edcd3a2a2a586446f4c371cd42a745858c2d0c29447faba66c6e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjRFOjFEMjBCNzpGQ0NBNjoxM0RGQTM6NkIwMEY3RTYiLCJ2aXNpdG9yX2lkIjoiNzM3MTM5MDc2NDkwOTEzMTc1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfacb95f7611aca2736d813d12b064754b9051833a50c2512d96292c6b9d1affc
hovercard-subject-tagissue:2701553920
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/OpenSourceHelpCommunity/Questions/537/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d3a951a9d35bdef2a62b4c6ca8a51ac72f6a43a3c01734d7d32d320fa27bed33/OpenSourceHelpCommunity/Questions/issues/537
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d3a951a9d35bdef2a62b4c6ca8a51ac72f6a43a3c01734d7d32d320fa27bed33/OpenSourceHelpCommunity/Questions/issues/537
og:image:altI have 2 workflows: a maven release workflow, triggered by workflow_dispatch a docker image creation supposed to be triggered by the aforementioned workflow (when a new tag is pushed) I shouldn't u...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemohamed-ennahdi
hostnamegithub.com
expected-hostnamegithub.com
Nonee208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187
turbo-cache-controlno-preview
go-importgithub.com/OpenSourceHelpCommunity/Questions git https://github.com/OpenSourceHelpCommunity/Questions.git
octolytics-dimension-user_id23719480
octolytics-dimension-user_loginOpenSourceHelpCommunity
octolytics-dimension-repository_id78395582
octolytics-dimension-repository_nwoOpenSourceHelpCommunity/Questions
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id78395582
octolytics-dimension-repository_network_root_nwoOpenSourceHelpCommunity/Questions
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7dafd017fb7809a839c443dba08622af38e63c09
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/OpenSourceHelpCommunity/Questions/issues/537#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FOpenSourceHelpCommunity%2FQuestions%2Fissues%2F537
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FOpenSourceHelpCommunity%2FQuestions%2Fissues%2F537
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=OpenSourceHelpCommunity%2FQuestions
Reloadhttps://github.com/OpenSourceHelpCommunity/Questions/issues/537
Reloadhttps://github.com/OpenSourceHelpCommunity/Questions/issues/537
Reloadhttps://github.com/OpenSourceHelpCommunity/Questions/issues/537
OpenSourceHelpCommunityhttps://github.com/OpenSourceHelpCommunity
Questionshttps://github.com/OpenSourceHelpCommunity/Questions
Codehttps://github.com/OpenSourceHelpCommunity/Questions
Issues479 (479)https://github.com/OpenSourceHelpCommunity/Questions/issues
Pull requests5 (5)https://github.com/OpenSourceHelpCommunity/Questions/pulls
Actionshttps://github.com/OpenSourceHelpCommunity/Questions/actions
Projectshttps://github.com/OpenSourceHelpCommunity/Questions/projects
Security and qualityhttps://github.com/OpenSourceHelpCommunity/Questions/security
Insightshttps://github.com/OpenSourceHelpCommunity/Questions/insights
https://github.com/OpenSourceHelpCommunity/Questions
New issuehttps://github.com/login?return_to=https://github.com/OpenSourceHelpCommunity/Questions/issues/537
New issuehttps://github.com/login?return_to=https://github.com/OpenSourceHelpCommunity/Questions/issues/537
Maven release workflow doesn't trigger on new tag worklowhttps://github.com/OpenSourceHelpCommunity/Questions/issues/537#top
https://github.com/mohamed-ennahdi
mohamed-ennahdihttps://github.com/mohamed-ennahdi
on Nov 28, 2024https://github.com/OpenSourceHelpCommunity/Questions/issues/537#issue-2701553920
I shouldn't use GITHUB_TOKEN when expecting a workflow to call another workflowhttps://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow#triggering-a-workflow-from-a-workflow
Sign up for freehttps://github.com/signup?return_to=https://github.com/OpenSourceHelpCommunity/Questions/issues/537
Sign in to commenthttps://github.com/login?return_to=https://github.com/OpenSourceHelpCommunity/Questions/issues/537
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.