1"use strict";(globalThis.webpackChunkflathub_docs_docusaurus=globalThis.webpackChunkflathub_docs_docusaurus||[]).push([[1152],{1486(t,o,n){n.r(o),n.d(o,{assets:()=>u,contentTitle:()=>r,default:()=>h,frontMatter:()=>a,metadata:()=>i,toc:()=>c});const i=JSON.parse('{"id":"for-app-authors/github-actions","title":"GitHub actions","description":"Using GitHub actions on your own repository","source":"@site/docs/02-for-app-authors/09-github-actions.md","sourceDirName":"02-for-app-authors","slug":"/for-app-authors/github-actions","permalink":"/docs/for-app-authors/github-actions","draft":false,"unlisted":false,"editUrl":"https://github.com/flathub/documentation/tree/main/docs/02-for-app-authors/09-github-actions.md","tags":[],"version":"current","sidebarPosition":9,"frontMatter":{},"sidebar":"mainSidebar","previous":{"title":"Shared Modules","permalink":"/docs/for-app-authors/shared-modules"},"next":{"title":"Verification","permalink":"/docs/for-app-authors/verification"}}');var e=n(4848),s=n(8453);const a={},r="GitHub actions",u={},c=[{value:"Using GitHub actions on your own repository",id:"using-github-actions-on-your-own-repository",level:2},{value:"Using GitHub actions on your Flathub repository",id:"using-github-actions-on-your-flathub-repository",level:2}];function l(t){const o={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",header:"header",li:"li",ol:"ol",p:"p",...(0,s.R)(),...t.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(o.header,{children:(0,e.jsx)(o.h1,{id:"github-actions",children:"GitHub actions"})}),"\n",(0,e.jsx)(o.h2,{id:"using-github-actions-on-your-own-repository",children:"Using GitHub actions on your own repository"}),"\n",(0,e.jsx)(o.p,{children:"Build and deploy your Flatpak application using the official GitHub\nActions:"}),"\n",(0,e.jsx)(o.p,{children:(0,e.jsx)(o.a,{href:"https://github.com/flatpak/flatpak-github-actions",children:"https://github.com/flatpak/flatpak-github-actions"})}),"\n",(0,e.jsx)(o.h2,{id:"using-github-actions-on-your-flathub-repository",children:"Using GitHub actions on your Flathub repository"}),"\n",(0,e.jsx)(o.admonition,{type:"note",children:(0,e.jsx)(o.p,{children:"Please note that any custom GitHub actions that commits or pushes to PRs\nor branches should be run in a controlled manner and only when necessary.\nSince every such push creates a new build, too many triggers can overload\nthe Flathub build infrastructure."})}),"\n",(0,e.jsx)(o.p,{children:"If your application is hosted in the Flathub GitHub organization, you can\nuse these actions, all others are not allowed:"}),"\n",(0,e.jsxs)(o.ol,{children:["\n",(0,e.jsx)(o.li,{children:"Any action from the flathub organization"}),"\n",(0,e.jsxs)(o.li,{children:[(0,e.jsx)(o.code,{children:"peter-evans/create-pull-request"})," in any version"]}),"\n"]})]})}function h(t={}){const{wrapper:o}={...(0,s.R)(),...t.components};return o?(0,e.jsx)(o,{...t,children:(0,e.jsx)(l,{...t})}):l(t)}},8453(t,o,n){n.d(o,{R:()=>a,x:()=>r});var i=n(6540);const e={},s=i.createContext(e);function a(t){const o=i.useContext(s);return i.useMemo(function(){return"function"==typeof t?t(o):{...o,...t}},[o,t])}function r(t){let o;return o=t.disableParentContext?"function"==typeof t.components?t.components(e):t.components||e:a(t.components),i.createElement(s.Provider,{value:o},t.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.